mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-25 13:23:43 +00:00
Prevent Catalina's heli from despawning
This commit is contained in:
parent
3adf37a3a9
commit
25f60af764
1 changed files with 4 additions and 0 deletions
|
@ -986,7 +986,11 @@ CHeli::UpdateHelis(void)
|
|||
|
||||
// Remove all helis if in a tunnel or under water
|
||||
if(FindPlayerCoors().z < - 2.0f)
|
||||
#ifdef FIX_BUGS
|
||||
for(i = 0; i < HELI_CATALINA; i++)
|
||||
#else
|
||||
for(i = 0; i < NUM_HELIS; i++)
|
||||
#endif
|
||||
if(pHelis[i] && pHelis[i]->m_heliStatus != HELI_STATUS_SHOT_DOWN)
|
||||
pHelis[i]->m_heliStatus = HELI_STATUS_FLY_AWAY;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue