diff --git a/Modules/IconBuilder.cs b/Modules/IconBuilder.cs index 49e5032..63b07bf 100644 --- a/Modules/IconBuilder.cs +++ b/Modules/IconBuilder.cs @@ -1,4 +1,4 @@ -using ExileCore.PoEMemory; +using ExileCore.PoEMemory; using ExileCore.PoEMemory.Components; using ExileCore.PoEMemory.MemoryObjects; using ExileCore.Shared.Enums; @@ -547,6 +547,7 @@ private MapIcon CreateIcon(Entity entity) var icon = new MapIcon(entity); icon.Settings = customPathIconSettings; icon.Type = MapIconTypes.CustomPath; + icon.Renderer = MapIconRenderers.Default; icon.Name = entity.RenderName; icon.Show = () => true; DebugCustomIcon(icon); diff --git a/Modules/IconRenderer.cs b/Modules/IconRenderer.cs index c777521..da2ad33 100644 --- a/Modules/IconRenderer.cs +++ b/Modules/IconRenderer.cs @@ -1,4 +1,4 @@ -using DieselTools_ExileAPI; +using DieselTools_ExileAPI; using ExileCore.PoEMemory.Components; using ExileCore.PoEMemory.MemoryObjects; using ExileCore.Shared.Cache; @@ -125,6 +125,8 @@ public void Render() { switch (mapIcon.Renderer) { case MapIconRenderers.Default: iconColor = mapIcon.Hidden() ? mapIcon.Settings.HiddenTint : mapIcon.Settings.Tint; + // icon + Graphics.DrawImage(iconFileName, mapIcon.DrawRect.Value, iconUV, iconColor); // text if (mapIcon.Settings.DrawName) Graphics.DrawText(mapIcon.Name, iconPosition.Translate(0, 0), FontAlign.Center); break;