diff options
Diffstat (limited to '')
-rw-r--r-- | src/control/Script2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script2.cpp b/src/control/Script2.cpp index f2d9ed9e..656973ca 100644 --- a/src/control/Script2.cpp +++ b/src/control/Script2.cpp @@ -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; } |