mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-12 12:40:58 +00:00
simplified code (thanks to MadMoose for pointing this out)
svn-id: r4830
This commit is contained in:
parent
901b4a07a6
commit
054f1fa69b
@ -1380,7 +1380,7 @@ void Scumm::o5_ifState()
|
||||
int b = getVarOrDirectByte(0x40);
|
||||
bool isNegated = _opcode & 0x20;
|
||||
|
||||
if (((getState(a) & 0xF0 >> 4) != b) ^ isNegated)
|
||||
if ((getState(a) != b) ^ isNegated)
|
||||
o5_jumpRelative();
|
||||
else
|
||||
ignoreScriptWord();
|
||||
|
Loading…
x
Reference in New Issue
Block a user