mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-12 19:50:34 +00:00
a bit more CBike
This commit is contained in:
parent
83e4023dc0
commit
1bfb01d5f5
5 changed files with 69 additions and 24 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue