[Scummvm-cvs-logs] scummvm master -> 1a12d24981678ede9e708cb441d44d9fe0964808

Strangerke Strangerke at scummvm.org
Fri Jan 13 22:19:25 CET 2012


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:
1a12d24981 TSAGE: R2R - Silent warning


Commit: 1a12d24981678ede9e708cb441d44d9fe0964808
    https://github.com/scummvm/scummvm/commit/1a12d24981678ede9e708cb441d44d9fe0964808
Author: Strangerke (strangerke at scummvm.org)
Date: 2012-01-13T13:18:42-08:00

Commit Message:
TSAGE: R2R - Silent warning

Changed paths:
    engines/tsage/ringworld2/ringworld2_scenes1.cpp



diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
index 34a4d6d..45aec17 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
@@ -2886,8 +2886,8 @@ void Scene1550::signal() {
 
 void Scene1550::process(Event &event) {
 	if ((!R2_GLOBALS._player._canWalk) && (R2_GLOBALS._events.getCursor() == R2_NEGATOR_GUN) && (event.eventType == EVENT_BUTTON_DOWN) && (this->_screenNumber == 1234)) {
-		int curReg = 0;
-		if (curReg = R2_GLOBALS._sceneRegions.indexOf(event.mousePos) == 0)
+		int curReg = R2_GLOBALS._sceneRegions.indexOf(event.mousePos);
+		if (curReg == 0)
 			_field412 = 1;
 		else if (((R2_GLOBALS._player._position.y < 90) && (event.mousePos.y > 90)) || ((R2_GLOBALS._player._position.y > 90) && (event.mousePos.y < 90)))
 			_field412 = 1;






More information about the Scummvm-git-logs mailing list