mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-04 11:59:59 +00:00
script fix, bomb fix, flying components fix
This commit is contained in:
parent
36f3a517f9
commit
a9a62a8641
5 changed files with 8 additions and 4 deletions
|
@ -1255,7 +1255,7 @@ CAutomobile::SpawnFlyingComponent(int32 component, uint32 type)
|
|||
obj->m_fElasticity = 0.1f;
|
||||
obj->m_fBuoyancy = obj->m_fMass*GRAVITY/0.75f;
|
||||
obj->ObjectCreatedBy = TEMP_OBJECT;
|
||||
obj->bIsStatic = true;
|
||||
obj->bIsStatic = false;
|
||||
obj->bIsPickup = false;
|
||||
obj->bUseVehicleColours = true;
|
||||
obj->m_colour1 = m_currentColour1;
|
||||
|
|
|
@ -383,6 +383,9 @@ CVehicle::ProcessDelayedExplosion(void)
|
|||
if(IsCar() && ((CAutomobile*)this)->m_bombType == 4 && (m_nBombTimer & 0xFE00) != 0xFE00)
|
||||
DMAudio.PlayOneShot(m_audioEntityId, SOUND_CAR_BOMB_TICK, 0.0f);
|
||||
|
||||
if (m_nBombTimer != 0)
|
||||
return;
|
||||
|
||||
if(FindPlayerVehicle() != this && m_pBlowUpEntity == FindPlayerPed())
|
||||
CWorld::Players[CWorld::PlayerInFocus].AwardMoneyForExplosion(this);
|
||||
BlowUpCar(m_pBlowUpEntity);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue