diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-22 14:04:09 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-22 14:04:09 +0100 |
commit | cea6b20c09532c3321c45f18ce36ec34fe836d1f (patch) | |
tree | bd6376dac146895eb1f0c1de37f1cf2e2bfdb19f /src/control/Script.cpp | |
parent | CMessages::GetTokenPadKeyString (diff) | |
parent | get rid of most --MIAMI comments (diff) | |
download | re3-cea6b20c09532c3321c45f18ce36ec34fe836d1f.tar re3-cea6b20c09532c3321c45f18ce36ec34fe836d1f.tar.gz re3-cea6b20c09532c3321c45f18ce36ec34fe836d1f.tar.bz2 re3-cea6b20c09532c3321c45f18ce36ec34fe836d1f.tar.lz re3-cea6b20c09532c3321c45f18ce36ec34fe836d1f.tar.xz re3-cea6b20c09532c3321c45f18ce36ec34fe836d1f.tar.zst re3-cea6b20c09532c3321c45f18ce36ec34fe836d1f.zip |
Diffstat (limited to 'src/control/Script.cpp')
-rw-r--r-- | src/control/Script.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 6e97d383..a9df5799 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -55,7 +55,6 @@ #endif //--LCS: file done except TODOs and command table - uint8* CTheScripts::ScriptSpace; CRunningScript CTheScripts::ScriptsArray[MAX_NUM_SCRIPTS]; intro_text_line CTheScripts::IntroTextLines[MAX_NUM_INTRO_TEXT_LINES]; @@ -4932,7 +4931,7 @@ int8 CRunningScript::ProcessCommands200To299(int32 command) return 0; case COMMAND_IS_WANTED_LEVEL_GREATER: CollectParameters(&m_nIp, 2); - UpdateCompareFlag(CWorld::Players[GET_INTEGER_PARAM(0)].m_pPed->m_pWanted->m_nWantedLevel > GET_INTEGER_PARAM(1)); + UpdateCompareFlag(CWorld::Players[GET_INTEGER_PARAM(0)].m_pPed->m_pWanted->GetWantedLevel() > GET_INTEGER_PARAM(1)); return 0; case COMMAND_CLEAR_WANTED_LEVEL: CollectParameters(&m_nIp, 1); |