aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2013-08-31 09:47:51 +0300
committerEugene Sandulenko2013-09-06 14:51:22 +0300
commit11cfbe4bc5c97ff6e8568126f22261f834a3943e (patch)
treee5bd46784b6558b6d485aa4d3cac4da101a13fda /engines/fullpipe/scenes.cpp
parentf43b145ad4ca431f6080bff8cfe655703ca0b197 (diff)
downloadscummvm-rg350-11cfbe4bc5c97ff6e8568126f22261f834a3943e.tar.gz
scummvm-rg350-11cfbe4bc5c97ff6e8568126f22261f834a3943e.tar.bz2
scummvm-rg350-11cfbe4bc5c97ff6e8568126f22261f834a3943e.zip
FULLPIPE: Fixe few warnings
Diffstat (limited to 'engines/fullpipe/scenes.cpp')
-rw-r--r--engines/fullpipe/scenes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/scenes.cpp b/engines/fullpipe/scenes.cpp
index c3cf810345..9054c4c7a7 100644
--- a/engines/fullpipe/scenes.cpp
+++ b/engines/fullpipe/scenes.cpp
@@ -980,7 +980,7 @@ int global_messageHandler3(ExCommand *cmd) {
return result;
}
if (ani2->canInteractAny(pic, cmd->_keyCode)) {
- if (!ani2 || ani2->isIdle() && !(ani2->_flags & 0x80) && !(ani2->_flags & 0x100))
+ if (!ani2 || (ani2->isIdle() && !(ani2->_flags & 0x80) && !(ani2->_flags & 0x100)))
handleObjectInteraction(ani2, pic, cmd->_keyCode);
return 1;
}
@@ -990,7 +990,7 @@ int global_messageHandler3(ExCommand *cmd) {
if (getSc2MctlCompoundBySceneId(g_fullpipe->_currentScene->_sceneId)->_isEnabled && cmd->_keyCode <= 0) {
if (g_fullpipe->_msgX != cmd->_sceneClickX || g_fullpipe->_msgY != cmd->_sceneClickY) {
ani = g_fullpipe->_currentScene->getStaticANIObject1ById(g_fullpipe->_gameLoader->_field_FA, -1);
- if (!ani || ani->isIdle() && !(ani->_flags & 0x80) && !(ani->_flags & 0x100)) {
+ if (!ani || (ani->isIdle() && !(ani->_flags & 0x80) && !(ani->_flags & 0x100))) {
result = startWalkTo(g_fullpipe->_gameLoader->_field_FA, -1, cmd->_sceneClickX, cmd->_sceneClickY, 0);
if (result) {
ExCommand *ex = new ExCommand(g_fullpipe->_gameLoader->_field_FA, 17, 64, 0, 0, 0, 1, 0, 0, 0);