mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-06 20:44:08 +00:00
Peds, Hud, CFO 1/2, fixes - including zone names
This commit is contained in:
parent
5bedca7692
commit
f40f44b14e
30 changed files with 1467 additions and 818 deletions
|
@ -620,6 +620,23 @@ CEntity::PruneReferences(void)
|
|||
}
|
||||
}
|
||||
|
||||
// Clean up the reference from *pent -> 'this'
|
||||
void
|
||||
CEntity::CleanUpOldReference(CEntity **pent)
|
||||
{
|
||||
CReference* ref, ** lastnextp;
|
||||
lastnextp = &m_pFirstReference;
|
||||
for (ref = m_pFirstReference; ref; ref = ref->next) {
|
||||
if (ref->pentity == pent) {
|
||||
*lastnextp = ref->next;
|
||||
ref->next = CReferences::pEmptyList;
|
||||
CReferences::pEmptyList = ref;
|
||||
break;
|
||||
}
|
||||
lastnextp = &ref->next;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
CEntity::UpdateRpHAnim(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue