mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 17:04:09 +00:00
fixed sound enum
This commit is contained in:
parent
764af8735c
commit
7da4f7fc35
5 changed files with 16 additions and 18 deletions
|
@ -37,7 +37,7 @@
|
|||
#include "Bike.h"
|
||||
#include "Debug.h"
|
||||
|
||||
//--MIAMI: done except for TODOs
|
||||
//--MIAMI: file done
|
||||
|
||||
// TODO: maybe put this somewhere else
|
||||
inline void
|
||||
|
@ -2134,8 +2134,7 @@ CBike::VehicleDamage(void)
|
|||
m_pDamageEntity && m_pDamageEntity->IsVehicle() &&
|
||||
(this != FindPlayerVehicle() || ((CVehicle*)m_pDamageEntity)->VehicleCreatedBy == MISSION_VEHICLE) &&
|
||||
((CVehicle*)m_pDamageEntity)->pDriver)
|
||||
// TODO(MIAMI): enum
|
||||
pDriver->Say(144);
|
||||
pDriver->Say(SOUND_PED_CRASH_VEHICLE);
|
||||
|
||||
int oldHealth = m_fHealth;
|
||||
if(this == FindPlayerVehicle())
|
||||
|
@ -2542,11 +2541,11 @@ CBike::PlayCarHorn(void)
|
|||
m_nCarHornTimer = 45;
|
||||
}else if(r < 4){
|
||||
if(pDriver)
|
||||
pDriver->Say(SOUND_PED_CAR_COLLISION);
|
||||
pDriver->Say(SOUND_PED_ANNOYED_DRIVER);
|
||||
m_nCarHornTimer = 45;
|
||||
}else{
|
||||
if(pDriver)
|
||||
pDriver->Say(SOUND_PED_CAR_COLLISION);
|
||||
pDriver->Say(SOUND_PED_ANNOYED_DRIVER);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue