diff options
author | Paweł Kołodziejski | 2003-06-27 05:02:01 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-06-27 05:02:01 +0000 |
commit | 9385979376851b4696f6504785275fdb6624d46a (patch) | |
tree | 18cbfc8cd8c8b64deb48b07a1b0c0f2519cf2e68 /scumm | |
parent | 1785e0e30504f4cdaf29a31eec0f58de700ab8b1 (diff) | |
download | scummvm-rg350-9385979376851b4696f6504785275fdb6624d46a.tar.gz scummvm-rg350-9385979376851b4696f6504785275fdb6624d46a.tar.bz2 scummvm-rg350-9385979376851b4696f6504785275fdb6624d46a.zip |
fixed warning
svn-id: r8664
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp index 1926589d38..f81b12f1a9 100644 --- a/scumm/object.cpp +++ b/scumm/object.cpp @@ -1110,7 +1110,7 @@ void Scumm::findObjectInRoom(FindObjectInRoom *fo, byte findWhat, uint id, uint else searchptr = roomptr; assert(searchptr); - ResourceIterator obcds(searchptr, _features & GF_SMALL_HEADER); + ResourceIterator obcds(searchptr, (_features & GF_SMALL_HEADER) != 0); for (i = 0;;) { obcdptr = obcds.findNext(MKID('OBCD')); if (obcdptr == NULL) @@ -1138,7 +1138,7 @@ void Scumm::findObjectInRoom(FindObjectInRoom *fo, byte findWhat, uint id, uint roomptr = fo->roomptr; if (findWhat & foImageHeader) { - ResourceIterator obims(roomptr, _features & GF_SMALL_HEADER); + ResourceIterator obims(roomptr, (_features & GF_SMALL_HEADER) != 0); for (i = 0;;) { obimptr = obims.findNext(MKID('OBIM')); if (obimptr == NULL) |