mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-11 03:34:13 +00:00
TSAGE: Fix to display R2R maze map correctly
This commit is contained in:
parent
1e40570ec0
commit
8ec07246e6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user