[Scummvm-cvs-logs] scummvm master -> 7f637d4ebd725dbf573e29954c50d0d3c2fd434e

sev- sev at scummvm.org
Sun Jan 26 00:12:59 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:
7f637d4ebd FULLPIPE: Fix operator precedence. CID 1157411


Commit: 7f637d4ebd725dbf573e29954c50d0d3c2fd434e
    https://github.com/scummvm/scummvm/commit/7f637d4ebd725dbf573e29954c50d0d3c2fd434e
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2014-01-25T14:38:05-08:00

Commit Message:
FULLPIPE: Fix operator precedence. CID 1157411

Changed paths:
    engines/fullpipe/modal.cpp



diff --git a/engines/fullpipe/modal.cpp b/engines/fullpipe/modal.cpp
index a73d8f8..2e5e09d 100644
--- a/engines/fullpipe/modal.cpp
+++ b/engines/fullpipe/modal.cpp
@@ -383,7 +383,7 @@ void ModalMap::initMap() {
 	PictureObject *pic;
 
 	for (int i = 0; i < 200; i++) {
-		if (!g_fp->_mapTable[i] >> 16)
+		if (!(g_fp->_mapTable[i] >> 16))
 			break;
 
 		pic = _mapScene->getPictureObjectById(g_fp->_mapTable[i] >> 16, 0);






More information about the Scummvm-git-logs mailing list