mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-25 13:13:44 +00:00
Prevent Catalina's heli from despawning #2
This commit is contained in:
parent
25f60af764
commit
22e4d13163
1 changed files with 2 additions and 3 deletions
|
@ -986,10 +986,9 @@ 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++)
|
||||
#ifdef FIX_BUGS
|
||||
if(i == HELI_CATALINA) continue;
|
||||
#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