mirror of
https://github.com/halpz/re3.git
synced 2025-07-01 13:46:17 +00:00
Use original names
This commit is contained in:
@ -2759,7 +2759,7 @@ void CTheScripts::UpdateObjectIndices()
|
||||
CBaseModelInfo* pModel = CModelInfo::GetModelInfo(j);
|
||||
if (!pModel)
|
||||
continue;
|
||||
strcpy(name, pModel->GetName());
|
||||
strcpy(name, pModel->GetModelName());
|
||||
#ifdef FIX_BUGS
|
||||
for (int k = 0; k < USED_OBJECT_NAME_LENGTH && name[k]; k++)
|
||||
#else
|
||||
|
@ -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:
|
||||
|
Reference in New Issue
Block a user