Эх сурвалжийг харах

Resolve map marker not showing up

SheepGoMeh 10 сар өмнө
parent
commit
7220bf80bb
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      HuntBuddy/Location.cs

+ 1 - 0
HuntBuddy/Location.cs

@@ -600,6 +600,7 @@ public static class Location {
 
 		(int X, int Y) pos = MapToWorldCoordinates(Database[mobHuntId].Coordinate, mapId);
 
+		map->FlagMarkerCount = 0; // Weird hack to make the map marker show up
 		map->SetFlagMapMarker(territoryType, mapId, pos.X, pos.Y, 60004);
 
 		switch (openType) {