diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-12-25 14:18:48 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-12-25 14:18:48 +0100 |
commit | e00b8a93bf7a53ef09bc349aefd3a2a37d58f09e (patch) | |
tree | 924da3fee9f1013e15de1ffa6a7f72e9537e46e1 /src/control/Script4.cpp | |
parent | Merge pull request #895 from ShFil119/miami_audio (diff) | |
download | re3-e00b8a93bf7a53ef09bc349aefd3a2a37d58f09e.tar re3-e00b8a93bf7a53ef09bc349aefd3a2a37d58f09e.tar.gz re3-e00b8a93bf7a53ef09bc349aefd3a2a37d58f09e.tar.bz2 re3-e00b8a93bf7a53ef09bc349aefd3a2a37d58f09e.tar.lz re3-e00b8a93bf7a53ef09bc349aefd3a2a37d58f09e.tar.xz re3-e00b8a93bf7a53ef09bc349aefd3a2a37d58f09e.tar.zst re3-e00b8a93bf7a53ef09bc349aefd3a2a37d58f09e.zip |
Diffstat (limited to 'src/control/Script4.cpp')
-rw-r--r-- | src/control/Script4.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/control/Script4.cpp b/src/control/Script4.cpp index e8475473..ba481b52 100644 --- a/src/control/Script4.cpp +++ b/src/control/Script4.cpp @@ -2169,10 +2169,10 @@ int8 CRunningScript::ProcessCommands900To999(int32 command) case COMMAND_PRINT_HELP: { if (CCamera::m_bUseMouse3rdPerson && ( - strncmp((char*)&CTheScripts::ScriptSpace[m_nIp], "HELP15", 7) == 0 || - strncmp((char*)&CTheScripts::ScriptSpace[m_nIp], "GUN_2A", 7) == 0 || - strncmp((char*)&CTheScripts::ScriptSpace[m_nIp], "GUN_2C", 7) == 0 || - strncmp((char*)&CTheScripts::ScriptSpace[m_nIp], "GUN_2D", 7) == 0)) { + strcmp((char*)&CTheScripts::ScriptSpace[m_nIp], "HELP15") == 0 || + strcmp((char*)&CTheScripts::ScriptSpace[m_nIp], "GUN_2A") == 0 || + strcmp((char*)&CTheScripts::ScriptSpace[m_nIp], "GUN_2C") == 0 || + strcmp((char*)&CTheScripts::ScriptSpace[m_nIp], "GUN_2D") == 0)) { m_nIp += KEY_LENGTH_IN_SCRIPT; return 0; } |