From 0f179d1f0a58b82732e3c8ad24849416db423310 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 6 Mar 2005 03:17:14 +0000 Subject: c & p type svn-id: r16997 --- scumm/sprite_he.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scumm') diff --git a/scumm/sprite_he.cpp b/scumm/sprite_he.cpp index 252c7d4c7b..50930541f4 100644 --- a/scumm/sprite_he.cpp +++ b/scumm/sprite_he.cpp @@ -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; } } -- cgit v1.2.3