aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/game.cpp')
-rw-r--r--engines/gob/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/game.cpp b/engines/gob/game.cpp
index f146cded6d..4bc95d78cf 100644
--- a/engines/gob/game.cpp
+++ b/engines/gob/game.cpp
@@ -133,7 +133,7 @@ byte *Game::loadExtData(int16 itemId, int16 *pResWidth,
offset = item->offset;
size = item->size;
- isPacked = (bool) (item->width & 0x8000);
+ isPacked = (item->width & 0x8000) != 0;
if (pResWidth != 0) {
*pResWidth = item->width & 0x7FFF;