aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2013-11-28 10:58:20 -0500
committerPaul Gilbert2013-11-28 10:58:20 -0500
commit0df36b4b1c5f3b5dc0e752a016c6643c0bfee73f (patch)
treed5b39da2b077778470e5adf991b3f0da9f0dc1f2 /engines
parent1ba391817995cfd6f18c0cbe85ee23161facdd70 (diff)
downloadscummvm-rg350-0df36b4b1c5f3b5dc0e752a016c6643c0bfee73f.tar.gz
scummvm-rg350-0df36b4b1c5f3b5dc0e752a016c6643c0bfee73f.tar.bz2
scummvm-rg350-0df36b4b1c5f3b5dc0e752a016c6643c0bfee73f.zip
TSAGE: R2R minimap scrolling fix applies vertically as well
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 6444b26d56..e1d6e79423 100644
--- a/engines/tsage/ringworld2/ringworld2_logic.cpp
+++ b/engines/tsage/ringworld2/ringworld2_logic.cpp
@@ -1598,7 +1598,7 @@ void MazeUI::draw() {
(_cellSize.y - 1)) / _cellSize.y;
// Loop to handle the cell rows of the visible display area one at a time
- for (int yCtr = 0; yCtr < _cellsVisible.y; ++yCtr, yPos += ySize) {
+ for (int yCtr = 0; yCtr <= _cellsVisible.y; ++yCtr, yPos += ySize) {
int cellY = _mapOffset.y / _cellSize.y + yCtr;
// Loop to iterate through the horizontal visible cells to build up