diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-07-27 20:28:42 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-07-27 20:28:42 +0200 |
commit | d62225968b6700417790df0fe71007591697423d (patch) | |
tree | a5b18032ff3084e213011923e433e5fc0c417a2d /src/control | |
parent | cargen + some script (diff) | |
parent | fixed intro skip (diff) | |
download | re3-d62225968b6700417790df0fe71007591697423d.tar re3-d62225968b6700417790df0fe71007591697423d.tar.gz re3-d62225968b6700417790df0fe71007591697423d.tar.bz2 re3-d62225968b6700417790df0fe71007591697423d.tar.lz re3-d62225968b6700417790df0fe71007591697423d.tar.xz re3-d62225968b6700417790df0fe71007591697423d.tar.zst re3-d62225968b6700417790df0fe71007591697423d.zip |
Diffstat (limited to 'src/control')
-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 9dbc8439..b61a466b 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -2430,7 +2430,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(' ')) @@ -3169,4 +3169,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 |