Prevent Catalina's heli from despawning #2
This commit is contained in:
parent
25f60af764
commit
22e4d13163
@ -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 New Issue
Block a user