mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-28 17:55:41 +00:00
setting some areas so objects dont disappear
This commit is contained in:
parent
600cbee7d4
commit
25a4091fa8
3 changed files with 3 additions and 0 deletions
|
@ -77,6 +77,7 @@ CEntity::CEntity(void)
|
|||
m_scanCode = 0;
|
||||
m_modelIndex = -1;
|
||||
m_rwObject = nil;
|
||||
m_area = AREA_MAIN_MAP;
|
||||
m_randomSeed = CGeneral::GetRandomNumber();
|
||||
m_pFirstReference = nil;
|
||||
}
|
||||
|
|
|
@ -10,4 +10,5 @@ CDummyObject::CDummyObject(CObject *obj)
|
|||
AttachToRwObject(obj->m_rwObject);
|
||||
obj->DetachFromRwObject();
|
||||
m_level = obj->m_level;
|
||||
m_area = obj->m_area;
|
||||
}
|
||||
|
|
|
@ -68,6 +68,7 @@ CObject::CObject(CDummyObject *dummy)
|
|||
dummy->DetachFromRwObject();
|
||||
Init();
|
||||
m_level = dummy->m_level;
|
||||
m_area = dummy->m_area;
|
||||
}
|
||||
|
||||
CObject::~CObject(void)
|
||||
|
|
Loading…
Reference in a new issue