Use CGeneral::faststricmp in CPed::ServiceTalking
This commit is contained in:
parent
84fcda618d
commit
71889de1be
@ -15892,7 +15892,7 @@ void
|
|||||||
CPed::ServiceTalking(void)
|
CPed::ServiceTalking(void)
|
||||||
{
|
{
|
||||||
if (!bBodyPartJustCameOff || m_bodyPartBleeding != PED_HEAD) {
|
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)
|
if (m_nPedState == PED_ON_FIRE)
|
||||||
m_queuedSound = SOUND_PED_BURNING;
|
m_queuedSound = SOUND_PED_BURNING;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user