aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2013-06-30 08:39:26 -0400
committerPaul Gilbert2013-06-30 08:39:26 -0400
commit8ec07246e605d4be6abc935fd50ff05b1af9035a (patch)
tree96624ca1f845aaf6fbb2de5651784429c9e058af /engines
parent1e40570ec0f8b53f8cb3fd579c89f7956840175e (diff)
downloadscummvm-rg350-8ec07246e605d4be6abc935fd50ff05b1af9035a.tar.gz
scummvm-rg350-8ec07246e605d4be6abc935fd50ff05b1af9035a.tar.bz2
scummvm-rg350-8ec07246e605d4be6abc935fd50ff05b1af9035a.zip
TSAGE: Fix to display R2R maze map correctly
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/ringworld2/ringworld2_logic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_logic.cpp b/engines/tsage/ringworld2/ringworld2_logic.cpp
index ba7ae4e3e5..3f062d0c6e 100644
--- a/engines/tsage/ringworld2/ringworld2_logic.cpp
+++ b/engines/tsage/ringworld2/ringworld2_logic.cpp
@@ -1387,7 +1387,7 @@ void MazeUI::draw() {
int cellX = _mapOffset.x / _cellSize.x + xCtr;
// Get the type of content to display in the cell
- int cell = getCellFromCellXY(Common::Point(cellX, cellY));
+ int cell = getCellFromCellXY(Common::Point(cellX, cellY)) - 1;
if (cell >= 0) {
int frameNum = (cell % _frameCount) + 1;
int rlbNum = (cell % _resCount) / _frameCount + 1;