[Scummvm-cvs-logs] scummvm master -> fd198a4b8b6ce90c2d0528d06c5c0a237d6b889f

eriktorbjorn eriktorbjorn at telia.com
Mon Dec 30 00:39:38 CET 2013


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:
fd198a4b8b FULLPIPE: Actually silence GCC warning.


Commit: fd198a4b8b6ce90c2d0528d06c5c0a237d6b889f
    https://github.com/scummvm/scummvm/commit/fd198a4b8b6ce90c2d0528d06c5c0a237d6b889f
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2013-12-29T15:38:56-08:00

Commit Message:
FULLPIPE: Actually silence GCC warning.

Changed paths:
    engines/fullpipe/scenes/scene11.cpp



diff --git a/engines/fullpipe/scenes/scene11.cpp b/engines/fullpipe/scenes/scene11.cpp
index 70f0e06..26fe10d 100644
--- a/engines/fullpipe/scenes/scene11.cpp
+++ b/engines/fullpipe/scenes/scene11.cpp
@@ -80,7 +80,7 @@ void scene11_dudeSwingCallback(int *arg) {
 		}
 	}
 
-	if ((oldarg - 45 >= 0 != *arg - 45 >= 0) && g_vars->scene11_arcadeIsOn) {
+	if ((oldarg >= 45) != (*arg >= 45) && g_vars->scene11_arcadeIsOn) {
 		if (oldarg >= *arg)
 			g_fp->playSound(SND_11_031, 0);
 		else






More information about the Scummvm-git-logs mailing list