summaryrefslogblamecommitdiffstats
path: root/src/entities/DummyObject.cpp
blob: 083ad6c6f268d97cad791a1eb0767894d2e58511 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                    
#include "common.h"
#include "patcher.h"
#include "DummyObject.h"
#include "Pools.h"

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