mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-20 07:58:44 +00:00
Changed: #985 Crash when opening a door
This commit is contained in:
parent
a5d0faaec5
commit
51bd12ec4a
1 changed files with 2 additions and 2 deletions
|
@ -489,9 +489,9 @@ void CDoorManager::getPACSTriggers()
|
|||
}
|
||||
|
||||
// Retrieve the door pointer
|
||||
SDoor *pDoor = (SDoor*)((nUserDataDoor >> 16)&0xffffffff);
|
||||
SDoor *pDoor = (SDoor*)((nUserDataDoor >> 16)&0xffffffffff);
|
||||
// Retrieve the entity pointer
|
||||
CEntityCL *pEntity = (CEntityCL*)((nUserDataEntity >> 16)&0xffffffff);
|
||||
CEntityCL *pEntity = (CEntityCL*)((nUserDataEntity >> 16)&0xffffffffff);
|
||||
|
||||
if (rTI.CollisionType == UTriggerInfo::Inside)
|
||||
pDoor->entityCollide(pEntity);
|
||||
|
|
Loading…
Reference in a new issue