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/Script.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/Script.cpp')
-rw-r--r-- | src/control/Script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index a61c6b09..bd056805 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -4545,7 +4545,7 @@ int8 CRunningScript::ProcessCommands200To299(int32 command) return 0; case COMMAND_IS_WANTED_LEVEL_GREATER: CollectParameters(&m_nIp, 2); - UpdateCompareFlag(CWorld::Players[ScriptParams[0]].m_pPed->m_pWanted->m_nWantedLevel > ScriptParams[1]); + UpdateCompareFlag(CWorld::Players[ScriptParams[0]].m_pPed->m_pWanted->GetWantedLevel() > ScriptParams[1]); return 0; case COMMAND_CLEAR_WANTED_LEVEL: CollectParameters(&m_nIp, 1); |