aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/parallaction/input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/input.cpp b/engines/parallaction/input.cpp
index 17254cf424..d6dd9feb19 100644
--- a/engines/parallaction/input.cpp
+++ b/engines/parallaction/input.cpp
@@ -329,7 +329,7 @@ bool Input::translateGameInput() {
bool noWalk = z->_flags & kFlagsNoWalk; // check the explicit no-walk flag
if (_gameType == GType_BRA) {
// action performed on object marked for self-use do not need walk in BRA
- noWalk |= z->_flags & kFlagsYourself;
+ noWalk |= ((z->_flags & kFlagsYourself) != 0);
}
if (noWalk) {