From 5c442f53aaa705d6c4502cc9cd8430a5e78f2ffa Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sat, 18 Sep 2004 11:34:55 +0000 Subject: fixed warnings svn-id: r15161 --- scumm/actor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scumm/actor.cpp') diff --git a/scumm/actor.cpp b/scumm/actor.cpp index 8346a1c7c5..07895e9ec8 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -1863,7 +1863,7 @@ void Actor::setUserCondition(int slot, int set) { bool Actor::isUserConditionSet(int slot) { assert(slot >= 1 && slot <= 0x20); - return condMask & (1 << (slot + 0xF)); + return (condMask & (1 << (slot + 0xF))) != 0; } void Actor::setTalkCondition(int slot) { @@ -1882,7 +1882,7 @@ void Actor::setTalkCondition(int slot) { bool Actor::isTalkConditionSet(int slot) { assert(slot >= 1 && slot <= 0x10); - return condMask & (1 << (slot - 1)); + return (condMask & (1 << (slot - 1))) != 0; } void ScummEngine::preProcessAuxQueue() { -- cgit v1.2.3