summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-08 01:41:40 +0100
committeraap <aap@papnet.eu>2021-01-08 01:41:40 +0100
commitebdf08a5144fa98fd5a0700c4865d7c6673d947e (patch)
treea239d268f61711c158583f9bc515f012b4c3fb8e /src/peds/Ped.cpp
parentAdd support of PS2 audio streams to OpenAL (diff)
downloadre3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar
re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar.gz
re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar.bz2
re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar.lz
re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar.xz
re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar.zst
re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.zip
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r--src/peds/Ped.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index b8afaeab..f597edea 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -9433,7 +9433,7 @@ CPed::SetRadioStation(void)
if (IsPlayer() || !m_pMyVehicle || m_pMyVehicle->pDriver != this)
return;
- if (GetModelIndex() != MI_PGA && GetModelIndex() != MI_PGB) {
+ if (GetModelIndex() != MI_GANG13 && GetModelIndex() != MI_GANG14) {
if (m_pMyVehicle->m_nRadioStation != modelInfo->radio1 && m_pMyVehicle->m_nRadioStation != modelInfo->radio2) {
if (CGeneral::GetRandomTrueFalse())
m_pMyVehicle->m_nRadioStation = modelInfo->radio1;