[Scummvm-cvs-logs] scummvm master -> 92f64fcb22793e310d3a393b4ff2db81adec55e3

dreammaster dreammaster at scummvm.org
Tue Jul 30 15:34:09 CEST 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:
92f64fcb22 TSAGE: Fix upper bound of loop in R2R scene 1575


Commit: 92f64fcb22793e310d3a393b4ff2db81adec55e3
    https://github.com/scummvm/scummvm/commit/92f64fcb22793e310d3a393b4ff2db81adec55e3
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2013-07-30T06:32:32-07:00

Commit Message:
TSAGE: Fix upper bound of loop in R2R scene 1575

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 00605b3..ba62a11 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
@@ -8886,7 +8886,7 @@ void Scene1575::Hotspot1::process(Event &event) {
 
 			di -= 2;
 			scene->_field41A -= 2;
-			for (int i = 0; i < 178; i++)
+			for (int i = 0; i < 17; i++)
 				scene->_arrActor[i].setPosition(Common::Point(scene->_arrActor[i]._position.x - 2, scene->_arrActor[i]._position.y));
 
 			scene->_actor13.setPosition(Common::Point(scene->_actor13._position.x - 2, scene->_actor13._position.y));






More information about the Scummvm-git-logs mailing list