mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-05 11:25:54 +00:00
setting some areas so objects dont disappear
This commit is contained in:
parent
600cbee7d4
commit
25a4091fa8
|
@ -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