diff options
Diffstat (limited to 'src/control/Script2.cpp')
-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 b31484ab..e4c71403 100644 --- a/src/control/Script2.cpp +++ b/src/control/Script2.cpp @@ -1080,7 +1080,7 @@ int8 CRunningScript::ProcessCommands400To499(int32 command) CollectParameters(&m_nIp, 1); CPlayerPed* pPed = CWorld::Players[GET_INTEGER_PARAM(0)].m_pPed; script_assert(pPed); - SET_INTEGER_PARAM(0, pPed->m_pWanted->m_nWantedLevel); + SET_INTEGER_PARAM(0, pPed->m_pWanted->GetWantedLevel()); StoreParameters(&m_nIp, 1); return 0; } |