[Scummvm-cvs-logs] scummvm master -> cbe4c934207d25b6a262f84b5bf915caa6dceb14
eriktorbjorn
eriktorbjorn at telia.com
Fri Jan 10 07:43:15 CET 2014
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
cbe4c93420 FULLPIPE: Silence GCC warning
Commit: cbe4c934207d25b6a262f84b5bf915caa6dceb14
https://github.com/scummvm/scummvm/commit/cbe4c934207d25b6a262f84b5bf915caa6dceb14
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2014-01-09T22:41:46-08:00
Commit Message:
FULLPIPE: Silence GCC warning
Changed paths:
engines/fullpipe/scenes/scene33.cpp
diff --git a/engines/fullpipe/scenes/scene33.cpp b/engines/fullpipe/scenes/scene33.cpp
index 37edace..209198c 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));
More information about the Scummvm-git-logs
mailing list