mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 21:59:00 +00:00
fixed planes
This commit is contained in:
parent
a0b6213351
commit
483dfbbf1b
1 changed files with 2 additions and 2 deletions
|
@ -898,9 +898,9 @@ CPlane::TestRocketCollision(CVector *rocketPos)
|
||||||
CPlane *plane = (CPlane*)CPools::GetVehiclePool()->GetSlot(i);
|
CPlane *plane = (CPlane*)CPools::GetVehiclePool()->GetSlot(i);
|
||||||
if(plane &&
|
if(plane &&
|
||||||
#ifdef EXPLODING_AIRTRAIN
|
#ifdef EXPLODING_AIRTRAIN
|
||||||
(plane->GetModelIndex() == MI_AIRTRAIN || plane->GetModelIndex() == MI_DODO) &&
|
(plane->GetModelIndex() == MI_AIRTRAIN || plane->GetModelIndex() == MI_DEADDODO) &&
|
||||||
#else
|
#else
|
||||||
plane->GetModelIndex() != MI_AIRTRAIN && plane->GetModelIndex() == MI_DODO && // strange check
|
plane->GetModelIndex() != MI_AIRTRAIN && plane->GetModelIndex() == MI_DEADDODO && // strange check
|
||||||
#endif
|
#endif
|
||||||
!plane->m_bHasBeenHit && (*rocketPos - plane->GetPosition()).Magnitude() < 25.0f){
|
!plane->m_bHasBeenHit && (*rocketPos - plane->GetPosition()).Magnitude() < 25.0f){
|
||||||
plane->m_nFrameWhenHit = CTimer::GetFrameCounter();
|
plane->m_nFrameWhenHit = CTimer::GetFrameCounter();
|
||||||
|
|
Loading…
Reference in a new issue