aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2014-01-10 07:41:46 +0100
committerTorbjörn Andersson2014-01-10 07:41:46 +0100
commitcbe4c934207d25b6a262f84b5bf915caa6dceb14 (patch)
tree7f44a2a5c162ea68e0ba6b90e9bfb7f1ff3485f0
parentb3c377aacd1fb493fc6ec8a6c4a08ded2db95af2 (diff)
downloadscummvm-rg350-cbe4c934207d25b6a262f84b5bf915caa6dceb14.tar.gz
scummvm-rg350-cbe4c934207d25b6a262f84b5bf915caa6dceb14.tar.bz2
scummvm-rg350-cbe4c934207d25b6a262f84b5bf915caa6dceb14.zip
FULLPIPE: Silence GCC warning
-rw-r--r--engines/fullpipe/scenes/scene33.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene33.cpp b/engines/fullpipe/scenes/scene33.cpp
index 37edace923..209198c0f3 100644
--- a/engines/fullpipe/scenes/scene33.cpp
+++ b/engines/fullpipe/scenes/scene33.cpp
@@ -112,7 +112,7 @@ void sceneHandler33_switchVent(StaticANIObject *ani) {
void sceneHandler33_processVents() {
for (int i = 0; i < 9; i++)
- if ((g_vars->scene33_cubeX - g_vars->scene33_ventsX[i] < 0 != g_vars->scene33_cube->_ox - g_vars->scene33_ventsX[i] < 0)
+ if (((g_vars->scene33_cubeX < g_vars->scene33_ventsX[i]) != (g_vars->scene33_cube->_ox < g_vars->scene33_ventsX[i]))
&& g_vars->scene33_ventsState[i] != ventsInit[i])
sceneHandler33_switchVent(g_fp->_currentScene->getStaticANIObject1ById(ANI_VENT_33, i));