diff options
author | aap <aap@papnet.eu> | 2020-06-05 15:09:45 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-06-05 15:09:45 +0200 |
commit | 1bfb01d5f52e64e4b2d6557e2b7c3f6618671da3 (patch) | |
tree | 8ea52a3d6c8a17e42244e464c69639c0fde5431d /src/vehicles/Automobile.cpp | |
parent | fix (diff) | |
download | re3-1bfb01d5f52e64e4b2d6557e2b7c3f6618671da3.tar re3-1bfb01d5f52e64e4b2d6557e2b7c3f6618671da3.tar.gz re3-1bfb01d5f52e64e4b2d6557e2b7c3f6618671da3.tar.bz2 re3-1bfb01d5f52e64e4b2d6557e2b7c3f6618671da3.tar.lz re3-1bfb01d5f52e64e4b2d6557e2b7c3f6618671da3.tar.xz re3-1bfb01d5f52e64e4b2d6557e2b7c3f6618671da3.tar.zst re3-1bfb01d5f52e64e4b2d6557e2b7c3f6618671da3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Automobile.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index 6fac4ec1..d0157c44 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -1546,10 +1546,8 @@ CAutomobile::ProcessControl(void) // Blow up car after 5 seconds m_fFireBlowUpTimer += CTimer::GetTimeStepInMilliseconds(); - if(m_fFireBlowUpTimer > 5000.0f){ - CWorld::Players[CWorld::PlayerInFocus].AwardMoneyForExplosion(this); + if(m_fFireBlowUpTimer > 5000.0f) BlowUpCar(m_pSetOnFireEntity); - } }else m_fFireBlowUpTimer = 0.0f; |