Use CGeneral::faststricmp in CPed::ServiceTalking

This commit is contained in:
Sergeanur 2020-01-07 15:43:56 +02:00
parent 84fcda618d
commit 71889de1be

View file

@ -15892,7 +15892,7 @@ void
CPed::ServiceTalking(void)
{
if (!bBodyPartJustCameOff || m_bodyPartBleeding != PED_HEAD) {
if (strcmpi(CModelInfo::GetModelInfo(m_modelIndex)->GetName(), "bomber")) {
if (CGeneral::faststricmp(CModelInfo::GetModelInfo(m_modelIndex)->GetName(), "bomber")) {
if (m_nPedState == PED_ON_FIRE)
m_queuedSound = SOUND_PED_BURNING;
} else {