mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-17 03:39:00 +00:00
14 lines
288 B
C++
14 lines
288 B
C++
|
#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;
|
||
|
}
|