summaryrefslogtreecommitdiffstats
path: root/src/control/Script7.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-08 20:53:11 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-08 20:53:11 +0100
commitfaa9e6441bc4b02362620d0cf599a8513744f4cc (patch)
treeb26eccf8fbbda2a4af0b7f0b3cdacdb6c4253cef /src/control/Script7.cpp
parentAdd multisampling (diff)
downloadre3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar
re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.gz
re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.bz2
re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.lz
re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.xz
re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.zst
re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.zip
Diffstat (limited to '')
-rw-r--r--src/control/Script7.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script7.cpp b/src/control/Script7.cpp
index 1eaa6cd0..5a70fd28 100644
--- a/src/control/Script7.cpp
+++ b/src/control/Script7.cpp
@@ -625,7 +625,7 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
key[i] = tolower(key[i]);
CPed* pPed = CWorld::Players[ScriptParams[0]].m_pPed;
script_assert(pPed);
- UpdateCompareFlag(strcmp(key, CModelInfo::GetModelInfo(pPed->GetModelIndex())->GetName()) == 0);
+ UpdateCompareFlag(strcmp(key, CModelInfo::GetModelInfo(pPed->GetModelIndex())->GetModelName()) == 0);
return 0;
}
case COMMAND_SET_PLAYER_CAN_DO_DRIVE_BY: