diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-13 23:44:48 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-13 23:44:48 +0200 |
commit | f93285df7960b75f616d9bbdb364e113714151ee (patch) | |
tree | afa425c6f56716ff4d610e2ed9497996c1fe9d06 /src/vehicles/Plane.cpp | |
parent | copypaste error (diff) | |
parent | Merge pull request #243 from erorcun/erorcun (diff) | |
download | re3-f93285df7960b75f616d9bbdb364e113714151ee.tar re3-f93285df7960b75f616d9bbdb364e113714151ee.tar.gz re3-f93285df7960b75f616d9bbdb364e113714151ee.tar.bz2 re3-f93285df7960b75f616d9bbdb364e113714151ee.tar.lz re3-f93285df7960b75f616d9bbdb364e113714151ee.tar.xz re3-f93285df7960b75f616d9bbdb364e113714151ee.tar.zst re3-f93285df7960b75f616d9bbdb364e113714151ee.zip |
Diffstat (limited to 'src/vehicles/Plane.cpp')
-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(); |