c & p type

svn-id: r16997
This commit is contained in:
Travis Howell 2005-03-06 03:17:14 +00:00
parent 5c650274fc
commit 0f179d1f0a

View File

@ -56,10 +56,10 @@ int ScummEngine_v90he::findSpriteWithClassOf(int x, int y, int spriteGroupId, in
checkRange(32, 1, classId, "class %d out of range in statement");
if (code & 0x80) {
if ((spi->class_flags & (1 << classId)))
return 0;
continue;
} else {
if (!(spi->class_flags & (1 << classId)))
return 0;
continue;
}
}