mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-17 01:24:08 +00:00
more CAutomobile::ProcessControl
This commit is contained in:
parent
fa98f40f7c
commit
ba242bcf58
17 changed files with 605 additions and 37 deletions
|
@ -35,7 +35,7 @@ CVehicle::CVehicle(uint8 CreatedBy)
|
|||
int i;
|
||||
|
||||
m_nCurrentGear = 0;
|
||||
field_208 = 0;
|
||||
m_fChangeGearTime = 0;
|
||||
m_fSteerRatio = 0.0f;
|
||||
m_type = ENTITY_TYPE_VEHICLE;
|
||||
VehicleCreatedBy = CreatedBy;
|
||||
|
@ -380,7 +380,7 @@ CVehicle::ProcessDelayedExplosion(void)
|
|||
else
|
||||
m_nBombTimer -= tick;
|
||||
|
||||
if(IsCar() && ((CAutomobile*)this)->m_bombType == 4 && (m_nBombTimer & 0xFE00) != 0xFE00)
|
||||
if(IsCar() && ((CAutomobile*)this)->m_bombType == CARBOMB_TIMEDACTIVE && (m_nBombTimer & 0xFE00) != 0xFE00)
|
||||
DMAudio.PlayOneShot(m_audioEntityId, SOUND_CAR_BOMB_TICK, 0.0f);
|
||||
|
||||
if (m_nBombTimer != 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue