Use original names

This commit is contained in:
Sergeanur committed 2021-01-08 21:53:11 +02:00
1 parent 68e8c1ce04
commit faa9e6441b
15 files changed
+45 -45

No files matched your search

+1 -1
View File
@@ -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: