[Scummvm-git-logs] scummvm master -> 5dbebe38c7d5e84da856da64d430512468147823
OMGPizzaGuy
noreply at scummvm.org
Fri Jun 14 21:41:09 UTC 2024
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:
5dbebe38c7 ULTIMA8: Keep sampling for minimap on black color.
Commit: 5dbebe38c7d5e84da856da64d430512468147823
https://github.com/scummvm/scummvm/commit/5dbebe38c7d5e84da856da64d430512468147823
Author: Matthew Jimenez (matthew.jimenez at outlook.com)
Date: 2024-06-14T16:33:51-05:00
Commit Message:
ULTIMA8: Keep sampling for minimap on black color.
This improves minimap generation in narrower sections of caves.
Changed paths:
engines/ultima/ultima8/world/minimap.cpp
diff --git a/engines/ultima/ultima8/world/minimap.cpp b/engines/ultima/ultima8/world/minimap.cpp
index 669c469916f..38cc7d893fd 100644
--- a/engines/ultima/ultima8/world/minimap.cpp
+++ b/engines/ultima/ultima8/world/minimap.cpp
@@ -98,7 +98,7 @@ uint32 MiniMap::sampleAtPoint(const CurrentMap &map, int x, int y) {
continue;
uint32 val = sampleAtPoint(*item, x, y);
- if (val != KEY_COLOR)
+ if (val != KEY_COLOR && val != BLACK_COLOR)
return val;
}
}
More information about the Scummvm-git-logs
mailing list