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

OMGPizzaGuy noreply at scummvm.org
Thu Dec 8 04:15:50 UTC 2022


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:
a7d589e738 ULTIMA8: Set the minimap gump default size to simple values insteaf of unnecessary calculation


Commit: a7d589e738e841cb71edc4ee6d1035f502f2ee0d
    https://github.com/scummvm/scummvm/commit/a7d589e738e841cb71edc4ee6d1035f502f2ee0d
Author: Matthew Jimenez (matthew.jimenez at outlook.com)
Date: 2022-12-07T22:15:33-06:00

Commit Message:
ULTIMA8: Set the minimap gump default size to simple values insteaf of unnecessary calculation

Changed paths:
    engines/ultima/ultima8/gumps/minimap_gump.cpp


diff --git a/engines/ultima/ultima8/gumps/minimap_gump.cpp b/engines/ultima/ultima8/gumps/minimap_gump.cpp
index d56a8686d2e..0a320e704a2 100644
--- a/engines/ultima/ultima8/gumps/minimap_gump.cpp
+++ b/engines/ultima/ultima8/gumps/minimap_gump.cpp
@@ -34,8 +34,7 @@ namespace Ultima8 {
 DEFINE_RUNTIME_CLASSTYPE_CODE(MiniMapGump)
 
 MiniMapGump::MiniMapGump(int x, int y) :
-	Gump(x, y, MAP_NUM_CHUNKS * 2 + 2, MAP_NUM_CHUNKS * 2 + 2, 0,
-	     FLAG_DRAGGABLE, LAYER_NORMAL), _minimaps(), _ax(0), _ay(0) {
+	Gump(x, y, 120, 120, 0, FLAG_DRAGGABLE, LAYER_NORMAL), _minimaps(), _ax(0), _ay(0) {
 }
 
 MiniMapGump::MiniMapGump() : Gump(), _minimaps(), _ax(0), _ay(0) {




More information about the Scummvm-git-logs mailing list