aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2013-07-03 22:47:15 -0400
committerPaul Gilbert2013-07-03 22:47:15 -0400
commita49a7d5ad4f4435ed8cee0934c94155586f2dd99 (patch)
tree6427b58b1901f20941deb773166ccba2243d881a /engines
parentf355d7bfbdc74e23e65b79f34fae2781832b6d0b (diff)
downloadscummvm-rg350-a49a7d5ad4f4435ed8cee0934c94155586f2dd99.tar.gz
scummvm-rg350-a49a7d5ad4f4435ed8cee0934c94155586f2dd99.tar.bz2
scummvm-rg350-a49a7d5ad4f4435ed8cee0934c94155586f2dd99.zip
TSAGE: Fix for moving east in R2R maze scene 3500
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes3.cpp b/engines/tsage/ringworld2/ringworld2_scenes3.cpp
index 648f82317e..d5e7b1b9c1 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes3.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes3.cpp
@@ -3929,7 +3929,7 @@ void Scene3500::dispatch() {
} else {
var_4 = _mazeUI.cellFromX(newMazeX + 70) - 70;
var_8 = abs(newMazeX - var_4);
- cellId = _mazeUI.getCellFromMapXY(Common::Point(newMazeX + 70, cellId + 46));
+ cellId = _mazeUI.getCellFromMapXY(Common::Point(newMazeX + 70, newMazeY + 46));
if ( (((cellId == 26) || (cellId == 24) || (cellId == 15)) && (newMazeX >= var_4) && (_mazePosition.x <= var_4))
|| (((cellId == 25) || (cellId == 23) || (cellId == 14) || (cellId == 5) || (cellId == 4)) && (_mazeChangeAmount >= var_8) && (_mazeChangeAmount <= 3) && (_action1._field24 != 0)) ) {
newMazeX = var_4;