summaryrefslogtreecommitdiffstats
path: root/src/peds/PedChat.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2021-01-08 21:30:35 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2021-01-08 21:30:35 +0100
commit39a121351de14f193f2f4efcbaef368d80ccfba9 (patch)
tree7fa767968e8e838b68894ff21c284c5f6c9338dc /src/peds/PedChat.cpp
parent.ini for scaling, radar, sprites (diff)
parentUse original names (diff)
downloadre3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar
re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.gz
re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.bz2
re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.lz
re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.xz
re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.zst
re3-39a121351de14f193f2f4efcbaef368d80ccfba9.zip
Diffstat (limited to '')
-rw-r--r--src/peds/PedChat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/PedChat.cpp b/src/peds/PedChat.cpp
index 81e295c6..907f5756 100644
--- a/src/peds/PedChat.cpp
+++ b/src/peds/PedChat.cpp
@@ -59,7 +59,7 @@ CPed::ServiceTalking(void)
if (bBodyPartJustCameOff && m_bodyPartBleeding == PED_HEAD)
return;
- if (!CGeneral::faststricmp(CModelInfo::GetModelInfo(GetModelIndex())->GetName(), "bomber"))
+ if (!CGeneral::faststricmp(CModelInfo::GetModelInfo(GetModelIndex())->GetModelName(), "bomber"))
m_queuedSound = SOUND_PED_BOMBER;
else if (m_nPedState == PED_ON_FIRE)
m_queuedSound = SOUND_PED_BURNING;