SCUMM: Made some potentially ambiguous (to the reader, at least) checks slightly less ambiguous
svn-id: r33919
This commit is contained in:
parent
7891e5afce
commit
f2111eeb45
2 changed files with 11 additions and 11 deletions
|
@ -1402,7 +1402,7 @@ void ScummEngine_v5::o5_ifClassOfIs() {
|
|||
while ((_opcode = fetchScriptByte()) != 0xFF) {
|
||||
cls = getVarOrDirectWord(PARAM_1);
|
||||
b = getClass(act, cls);
|
||||
if (cls & 0x80 && !b || !(cls & 0x80) && b)
|
||||
if (((cls & 0x80) && !b) || (!(cls & 0x80) && b))
|
||||
cond = false;
|
||||
}
|
||||
if (cond)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue