m_nWantedLevel -> GetWantedLevel()

This commit is contained in:
withmorten
2021-01-22 00:20:51 +01:00
parent 1999427225
commit d1317f8fa6
25 changed files with 77 additions and 77 deletions

View File

@@ -1030,7 +1030,7 @@ int8 CRunningScript::ProcessCommands400To499(int32 command)
CollectParameters(&m_nIp, 1);
CPlayerPed* pPed = CWorld::Players[ScriptParams[0]].m_pPed;
script_assert(pPed);
ScriptParams[0] = pPed->m_pWanted->m_nWantedLevel;
ScriptParams[0] = pPed->m_pWanted->GetWantedLevel();
StoreParameters(&m_nIp, 1);
return 0;
}