diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-07-27 19:44:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-27 19:44:22 +0200 |
commit | fc5fc602ba72a54fc4a4f494160b7c2675886969 (patch) | |
tree | c96cc5fa0c4d300c03a9e15caf114e7767e26273 /src/control/Script.cpp | |
parent | renamed flag to R* name (diff) | |
download | re3-fc5fc602ba72a54fc4a4f494160b7c2675886969.tar re3-fc5fc602ba72a54fc4a4f494160b7c2675886969.tar.gz re3-fc5fc602ba72a54fc4a4f494160b7c2675886969.tar.bz2 re3-fc5fc602ba72a54fc4a4f494160b7c2675886969.tar.lz re3-fc5fc602ba72a54fc4a4f494160b7c2675886969.tar.xz re3-fc5fc602ba72a54fc4a4f494160b7c2675886969.tar.zst re3-fc5fc602ba72a54fc4a4f494160b7c2675886969.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 31684e3f..b4ca56d3 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -2428,7 +2428,7 @@ int8 CRunningScript::ProcessCommandsFrom200To299(int32 command) { CollectParameters(&m_nIp, 2); bool value = GetPadState(ScriptParams[0], ScriptParams[1]) != 0; - if (CGame::playingIntro && ScriptParams[0] && ScriptParams[1] == 12){ /* pad1, start */ + if (CGame::playingIntro && ScriptParams[0] == 0 && ScriptParams[1] == 12){ /* pad1, start */ if (CPad::GetPad(0)->GetLeftMouseJustDown() || CPad::GetPad(0)->GetPadEnterJustDown() || CPad::GetPad(0)->GetCharJustDown(' ')) @@ -2893,4 +2893,4 @@ InjectHook(0x439000, &CTheScripts::StartNewScript, PATCH_JUMP); InjectHook(0x439040, &CTheScripts::Process, PATCH_JUMP); InjectHook(0x439400, &CTheScripts::StartTestScript, PATCH_JUMP); InjectHook(0x439410, &CTheScripts::IsPlayerOnAMission, PATCH_JUMP); -ENDPATCHES
\ No newline at end of file +ENDPATCHES |