Преглед на файлове

Resolve map marker not showing up

SheepGoMeh преди 10 месеца
родител
ревизия
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) {