[Scummvm-git-logs] scummvm master -> e806c9e06192ba9c7d3390687069032df80054fe

dreammaster noreply at scummvm.org
Sun Jan 4 08:36:37 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
e806c9e061 ULTIMA: ULTIMA0: Fix showing enemies on dungeon minimap


Commit: e806c9e06192ba9c7d3390687069032df80054fe
    https://github.com/scummvm/scummvm/commit/e806c9e06192ba9c7d3390687069032df80054fe
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2026-01-04T19:36:24+11:00

Commit Message:
ULTIMA: ULTIMA0: Fix showing enemies on dungeon minimap

Changed paths:
    engines/ultima/ultima0/views/dungeon.cpp


diff --git a/engines/ultima/ultima0/views/dungeon.cpp b/engines/ultima/ultima0/views/dungeon.cpp
index f836a263a8c..c7e05a31881 100644
--- a/engines/ultima/ultima0/views/dungeon.cpp
+++ b/engines/ultima/ultima0/views/dungeon.cpp
@@ -79,7 +79,7 @@ void Dungeon::drawMinimap(Graphics::ManagedSurface &mapArea) {
 				(x + 1) * MINIMAP_TILE_SIZE, (y + 1) * MINIMAP_TILE_SIZE);
 			if (x == player._dungeonPos.x && y == player._dungeonPos.y) {
 				mapArea.fillRect(r, C_CYAN);
-			} else if (dungeon.findMonster(Common::Point(x, y)) > 0) {
+			} else if (dungeon.findMonster(Common::Point(x, y)) >= 0) {
 				mapArea.fillRect(r, C_RED);
 			} else {
 				tile = dungeon._map[x][y];




More information about the Scummvm-git-logs mailing list