diff options
author | aap <aap@papnet.eu> | 2021-01-22 10:33:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 10:33:55 +0100 |
commit | 4acc9b08a2179ebf2a12e52759f7b4193c047533 (patch) | |
tree | 5adc99bd4296a54cc49354b291876603a72eed6e /src/control/Script2.cpp | |
parent | fuck (diff) | |
parent | m_nWantedLevel -> GetWantedLevel() (diff) | |
download | re3-4acc9b08a2179ebf2a12e52759f7b4193c047533.tar re3-4acc9b08a2179ebf2a12e52759f7b4193c047533.tar.gz re3-4acc9b08a2179ebf2a12e52759f7b4193c047533.tar.bz2 re3-4acc9b08a2179ebf2a12e52759f7b4193c047533.tar.lz re3-4acc9b08a2179ebf2a12e52759f7b4193c047533.tar.xz re3-4acc9b08a2179ebf2a12e52759f7b4193c047533.tar.zst re3-4acc9b08a2179ebf2a12e52759f7b4193c047533.zip |
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 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; } |