mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
ASYLUM: fix a logic error in JumpIfGameFlag
Game scripts now progress more accurately in Scene 2
This commit is contained in:
parent
83194b47c8
commit
a663c3da75
@ -445,7 +445,7 @@ IMPLEMENT_OPCODE(JumpIfGameFlag)
|
||||
if (cmd->param1 < 0)
|
||||
return;
|
||||
|
||||
bool doJump = (cmd->param2) ? _vm->isGameFlagSet((GameFlag)cmd->param1) : _vm->isGameFlagNotSet((GameFlag)cmd->param1);
|
||||
bool doJump = (cmd->param2) ? _vm->isGameFlagNotSet((GameFlag)cmd->param1) : _vm->isGameFlagSet((GameFlag)cmd->param1);
|
||||
if (!doJump)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user