SCUMM: Made some potentially ambiguous (to the reader, at least) checks slightly less ambiguous

svn-id: r33919
This commit is contained in:
Max Horn 2008-08-15 22:06:15 +00:00
parent 7891e5afce
commit f2111eeb45
2 changed files with 11 additions and 11 deletions

View file

@ -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)