mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-18 02:34:08 +00:00
Pool fixes from master
This commit is contained in:
parent
579efc05fc
commit
f3e9c82432
9 changed files with 38 additions and 23 deletions
|
@ -308,7 +308,7 @@ INITSAVEBUF
|
|||
|
||||
// Convert entity pointer to building pool index while saving
|
||||
if (phone->m_pEntity) {
|
||||
phone->m_pEntity = (CEntity*) (CPools::GetBuildingPool()->GetJustIndex((CBuilding*)phone->m_pEntity) + 1);
|
||||
phone->m_pEntity = (CEntity*) (CPools::GetBuildingPool()->GetJustIndex_NoFreeAssert((CBuilding*)phone->m_pEntity) + 1);
|
||||
}
|
||||
}
|
||||
VALIDATESAVEBUF(*size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue