m_nWantedLevel -> GetWantedLevel()

This commit is contained in:
withmorten 2021-01-22 00:19:44 +01:00
parent a511d79bf0
commit 497e0b801f
17 changed files with 43 additions and 42 deletions

View file

@ -1033,7 +1033,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;
}