mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-24 03:00:01 +00:00
Merge remote-tracking branch 'upstream/miami' into miami
This commit is contained in:
commit
88076a0050
|
@ -79,6 +79,7 @@ CEntity::CEntity(void)
|
||||||
m_scanCode = 0;
|
m_scanCode = 0;
|
||||||
m_modelIndex = -1;
|
m_modelIndex = -1;
|
||||||
m_rwObject = nil;
|
m_rwObject = nil;
|
||||||
|
m_area = AREA_MAIN_MAP;
|
||||||
m_randomSeed = CGeneral::GetRandomNumber();
|
m_randomSeed = CGeneral::GetRandomNumber();
|
||||||
m_pFirstReference = nil;
|
m_pFirstReference = nil;
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,4 +10,5 @@ CDummyObject::CDummyObject(CObject *obj)
|
||||||
AttachToRwObject(obj->m_rwObject);
|
AttachToRwObject(obj->m_rwObject);
|
||||||
obj->DetachFromRwObject();
|
obj->DetachFromRwObject();
|
||||||
m_level = obj->m_level;
|
m_level = obj->m_level;
|
||||||
|
m_area = obj->m_area;
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,6 +68,7 @@ CObject::CObject(CDummyObject *dummy)
|
||||||
dummy->DetachFromRwObject();
|
dummy->DetachFromRwObject();
|
||||||
Init();
|
Init();
|
||||||
m_level = dummy->m_level;
|
m_level = dummy->m_level;
|
||||||
|
m_area = dummy->m_area;
|
||||||
}
|
}
|
||||||
|
|
||||||
CObject::~CObject(void)
|
CObject::~CObject(void)
|
||||||
|
|
Loading…
Reference in a new issue