diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-06-05 22:17:19 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-06-05 22:20:16 +0200 |
commit | d3736ccb1715d7ad5d759f4da7144b75168d33f2 (patch) | |
tree | cc89622ce5b40c77c903caeb0ee46d91dda5d751 /src/vehicles/Automobile.cpp | |
parent | Bike riding anims, SA bike/heli cam (diff) | |
parent | a bit more CBike (diff) | |
download | re3-d3736ccb1715d7ad5d759f4da7144b75168d33f2.tar re3-d3736ccb1715d7ad5d759f4da7144b75168d33f2.tar.gz re3-d3736ccb1715d7ad5d759f4da7144b75168d33f2.tar.bz2 re3-d3736ccb1715d7ad5d759f4da7144b75168d33f2.tar.lz re3-d3736ccb1715d7ad5d759f4da7144b75168d33f2.tar.xz re3-d3736ccb1715d7ad5d759f4da7144b75168d33f2.tar.zst re3-d3736ccb1715d7ad5d759f4da7144b75168d33f2.zip |
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-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; |