[Scummvm-cvs-logs] scummvm master -> 1ba391817995cfd6f18c0cbe85ee23161facdd70
dreammaster
dreammaster at scummvm.org
Thu Nov 28 16:55:00 CET 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:
1ba3918179 TSAGE: Fix for R2R maze minimap not handling right-hand column scrolling on-screen
Commit: 1ba391817995cfd6f18c0cbe85ee23161facdd70
https://github.com/scummvm/scummvm/commit/1ba391817995cfd6f18c0cbe85ee23161facdd70
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2013-11-28T07:54:23-08:00
Commit Message:
TSAGE: Fix for R2R maze minimap not handling right-hand column scrolling on-screen
Changed paths:
engines/tsage/ringworld2/ringworld2_logic.cpp
diff --git a/engines/tsage/ringworld2/ringworld2_logic.cpp b/engines/tsage/ringworld2/ringworld2_logic.cpp
index 3f1cecc..6444b26 100644
--- a/engines/tsage/ringworld2/ringworld2_logic.cpp
+++ b/engines/tsage/ringworld2/ringworld2_logic.cpp
@@ -1602,8 +1602,9 @@ void MazeUI::draw() {
int cellY = _mapOffset.y / _cellSize.y + yCtr;
// Loop to iterate through the horizontal visible cells to build up
- // an entire cell high horizontal slice of the map
- for (int xCtr = 0; xCtr < _cellsVisible.x; ++xCtr) {
+ // an entire cell high horizontal slice of the map, plus one extra cell
+ // to allow for partial cell scrolling on-screen on the left/right sides
+ for (int xCtr = 0; xCtr <= _cellsVisible.x; ++xCtr) {
int cellX = _mapOffset.x / _cellSize.x + xCtr;
// Get the type of content to display in the cell
More information about the Scummvm-git-logs
mailing list