2019-06-18 09:50:26 +02:00
|
|
|
#include "common.h"
|
2020-04-17 16:31:11 +03:00
|
|
|
|
2019-06-18 09:50:26 +02:00
|
|
|
#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;
|
2020-05-06 14:43:23 +02:00
|
|
|
m_area = obj->m_area;
|
2019-06-18 09:50:26 +02:00
|
|
|
}
|