1
0
Fork 0
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:
aap 2020-05-06 14:43:23 +02:00
parent 600cbee7d4
commit 25a4091fa8
3 changed files with 3 additions and 0 deletions

View file

@ -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;
}

View file

@ -10,4 +10,5 @@ CDummyObject::CDummyObject(CObject *obj)
AttachToRwObject(obj->m_rwObject);
obj->DetachFromRwObject();
m_level = obj->m_level;
m_area = obj->m_area;
}

View file

@ -68,6 +68,7 @@ CObject::CObject(CDummyObject *dummy)
dummy->DetachFromRwObject();
Init();
m_level = dummy->m_level;
m_area = dummy->m_area;
}
CObject::~CObject(void)