aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;