summaryrefslogtreecommitdiffstats
path: root/src/audio/MusicManager.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-07-08 16:26:23 +0200
committereray orçunus <erayorcunus@gmail.com>2020-07-09 16:01:07 +0200
commit67a3c7d2ee2787b254099bf22a9c261146ce5eed (patch)
tree70124341489b7293a9d4eccfe2d74df263ab5e3e /src/audio/MusicManager.cpp
parentMerge pull request #652 from Domiiniik/miami (diff)
downloadre3-67a3c7d2ee2787b254099bf22a9c261146ce5eed.tar
re3-67a3c7d2ee2787b254099bf22a9c261146ce5eed.tar.gz
re3-67a3c7d2ee2787b254099bf22a9c261146ce5eed.tar.bz2
re3-67a3c7d2ee2787b254099bf22a9c261146ce5eed.tar.lz
re3-67a3c7d2ee2787b254099bf22a9c261146ce5eed.tar.xz
re3-67a3c7d2ee2787b254099bf22a9c261146ce5eed.tar.zst
re3-67a3c7d2ee2787b254099bf22a9c261146ce5eed.zip
Diffstat (limited to 'src/audio/MusicManager.cpp')
-rw-r--r--src/audio/MusicManager.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/audio/MusicManager.cpp b/src/audio/MusicManager.cpp
index 9fb1991e..ae2e97ac 100644
--- a/src/audio/MusicManager.cpp
+++ b/src/audio/MusicManager.cpp
@@ -714,15 +714,17 @@ cMusicManager::UsesPoliceRadio(CVehicle *veh)
{
switch (veh->GetModelIndex())
{
- case MI_FBICAR:
- case MI_POLICE:
- case MI_ENFORCER:
- case MI_PREDATOR:
+ case MI_VCNMAV:
+ case MI_POLMAV:
+ case MI_COASTG:
case MI_RHINO:
case MI_BARRACKS:
return true;
+ case MI_MRWHOOP:
+ case MI_HUNTER:
+ return false;
}
- return false;
+ return veh->UsesSiren();
}
void