From cbe4c934207d25b6a262f84b5bf915caa6dceb14 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Fri, 10 Jan 2014 07:41:46 +0100 Subject: FULLPIPE: Silence GCC warning --- engines/fullpipe/scenes/scene33.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit v1.2.3