summaryrefslogblamecommitdiffstats
path: root/src/objects/DummyObject.cpp
blob: 8656abbb7b64fc279adbc58d3c0e53e45f36643f (plain) (tree)
1
2
3
4
5
6
7
                   
 


                        

                     






                                                    
                             
 
#include "common.h"

#include "DummyObject.h"
#include "Pools.h"

// --MIAMI: file done

CDummyObject::CDummyObject(CObject *obj)
{
	SetModelIndexNoCreate(obj->GetModelIndex());
	if(obj->m_rwObject)
		AttachToRwObject(obj->m_rwObject);
	obj->DetachFromRwObject();
	m_level = obj->m_level;
	m_area = obj->m_area;
}