summaryrefslogtreecommitdiff
path: root/src/audio
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/AudioLogic.cpp4
-rw-r--r--src/audio/PolRadio.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp
index ca07f466..dfeb8dde 100644
--- a/src/audio/AudioLogic.cpp
+++ b/src/audio/AudioLogic.cpp
@@ -3094,10 +3094,10 @@ cAudioManager::ProcessCarBombTick(cVehicleParams& params)
if (params.m_pVehicle->bEngineOn) {
switch (params.m_VehicleType) {
case VEHICLE_TYPE_CAR:
- bombType = params.m_pVehicle->m_bombType;
+ bombType = ((CAutomobile*)params.m_pVehicle)->m_bombType;
break;
case VEHICLE_TYPE_BIKE:
- bombType = params.m_pVehicle->m_bombType;
+ bombType = ((CBike*)params.m_pVehicle)->m_bombType;
break;
default:
debug("\n * AUDIOLOG: ProcessCarBombTick() Unsupported vehicle type %d * \n", params.m_VehicleType);
diff --git a/src/audio/PolRadio.cpp b/src/audio/PolRadio.cpp
index 47cae71d..fda3aa09 100644
--- a/src/audio/PolRadio.cpp
+++ b/src/audio/PolRadio.cpp
@@ -600,7 +600,7 @@ cAudioManager::SetupSuspectLastSeenReport()
case MI_COACH:
sample = SFX_SFX_POLICE_RADIO_COACH;
break;
- case MI_ROMERO:
+ case MI_HEARSE:
sample = SFX_SFX_POLICE_RADIO_HEARSE;
break;
case MI_PIZZABOY: