Selaa lähdekoodia

Resolve map marker not showing up

SheepGoMeh 10 kuukautta sitten
vanhempi
sitoutus
7220bf80bb
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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) {