From 85bce4611c94c0bad9fcb06e868fe3441a54e636 Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Tue, 16 Feb 2010 23:18:32 +0000 Subject: Fascination - Fix syntax (clone2727) svn-id: r48074 --- engines/gob/resources.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/gob') diff --git a/engines/gob/resources.cpp b/engines/gob/resources.cpp index e36262f8d3..6acaf224f8 100644 --- a/engines/gob/resources.cpp +++ b/engines/gob/resources.cpp @@ -576,7 +576,7 @@ TextItem *Resources::getTextItem(uint16 id) const { // HACK: Some Fascination versions (Amiga, Atari and first PC floppies) have a different header, which is a problem here. // Playtoons also have the same problem (and workaround). // TODO: Handle that in a proper way - if (((_vm->getGameType() == kGameTypeFascination) | (_vm->getGameType() == kGameTypePlaytoons)) & (_totTextTable->size < 0)) + if (((_vm->getGameType() == kGameTypeFascination) || (_vm->getGameType() == kGameTypePlaytoons)) && (_totTextTable->size < 0)) warning("totTextTable with negative size id:%d offset:%d in file %s : (size: %d)", id, totItem.offset, _totFile.c_str(), _totTextTable->size); else return 0; -- cgit v1.2.3