|
|
@ -987,6 +987,9 @@ CHeli::UpdateHelis(void)
|
|
|
|
// Remove all helis if in a tunnel or under water
|
|
|
|
// Remove all helis if in a tunnel or under water
|
|
|
|
if(FindPlayerCoors().z < - 2.0f)
|
|
|
|
if(FindPlayerCoors().z < - 2.0f)
|
|
|
|
for(i = 0; i < NUM_HELIS; i++)
|
|
|
|
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)
|
|
|
|
if(pHelis[i] && pHelis[i]->m_heliStatus != HELI_STATUS_SHOT_DOWN)
|
|
|
|
pHelis[i]->m_heliStatus = HELI_STATUS_FLY_AWAY;
|
|
|
|
pHelis[i]->m_heliStatus = HELI_STATUS_FLY_AWAY;
|
|
|
|
}
|
|
|
|
}
|
|
|
|