diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-13 17:15:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-13 17:15:14 +0200 |
commit | 483dfbbf1bc6eb65688770f0147b211112edfd1d (patch) | |
tree | 6baff83133f403f4df2d37c5085930b6ac08c4c9 /src/vehicles/Plane.cpp | |
parent | Merge pull request #239 from erorcun/erorcun (diff) | |
download | re3-483dfbbf1bc6eb65688770f0147b211112edfd1d.tar re3-483dfbbf1bc6eb65688770f0147b211112edfd1d.tar.gz re3-483dfbbf1bc6eb65688770f0147b211112edfd1d.tar.bz2 re3-483dfbbf1bc6eb65688770f0147b211112edfd1d.tar.lz re3-483dfbbf1bc6eb65688770f0147b211112edfd1d.tar.xz re3-483dfbbf1bc6eb65688770f0147b211112edfd1d.tar.zst re3-483dfbbf1bc6eb65688770f0147b211112edfd1d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Plane.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Plane.cpp b/src/vehicles/Plane.cpp index 40e0e5a7..29affdcb 100644 --- a/src/vehicles/Plane.cpp +++ b/src/vehicles/Plane.cpp @@ -898,9 +898,9 @@ CPlane::TestRocketCollision(CVector *rocketPos) CPlane *plane = (CPlane*)CPools::GetVehiclePool()->GetSlot(i); if(plane && #ifdef EXPLODING_AIRTRAIN - (plane->GetModelIndex() == MI_AIRTRAIN || plane->GetModelIndex() == MI_DODO) && + (plane->GetModelIndex() == MI_AIRTRAIN || plane->GetModelIndex() == MI_DEADDODO) && #else - plane->GetModelIndex() != MI_AIRTRAIN && plane->GetModelIndex() == MI_DODO && // strange check + plane->GetModelIndex() != MI_AIRTRAIN && plane->GetModelIndex() == MI_DEADDODO && // strange check #endif !plane->m_bHasBeenHit && (*rocketPos - plane->GetPosition()).Magnitude() < 25.0f){ plane->m_nFrameWhenHit = CTimer::GetFrameCounter(); |