1
0
mirror of https://github.com/td512/re3.git synced 2026-03-02 05:16:04 +00:00

Use original names

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

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: