Skip to content

Instantly share code, notes, and snippets.

@Muehe
Last active July 5, 2016 17:55
Show Gist options
  • Save Muehe/ce3808b684947dd023314d60dffca1b1 to your computer and use it in GitHub Desktop.
Save Muehe/ce3808b684947dd023314d60dffca1b1 to your computer and use it in GitHub Desktop.
Deactivates Questie 3.1 minimap icons
diff --git a/!Questie/Modules/QuestieNotes.lua b/!Questie/Modules/QuestieNotes.lua
index c4c686c..3b233cb 100644
--- a/!Questie/Modules/QuestieNotes.lua
+++ b/!Questie/Modules/QuestieNotes.lua
@@ -557,7 +557,7 @@ function Questie:DRAW_NOTES()
local c, z = GetCurrentMapContinent(), GetCurrentMapZone();
Questie:debug_Print("DRAW_NOTES");
if(QuestieMapNotes[c] and QuestieMapNotes[c][z]) then
- for k, v in pairs(QuestieMapNotes[c][z]) do
+ --[[for k, v in pairs(QuestieMapNotes[c][z]) do
--If an available quest isn't in the zone or we aren't tracking a quest on the QuestTracker then hide the objectives from the minimap
if (QuestieConfig.alwaysShowQuests == false) and (MMLastX ~= 0 and MMLastY ~= 0) and (((QuestieTrackedQuests[v.questHash] ~= nil) and (QuestieTrackedQuests[v.questHash]["tracked"] ~= false)) or (v.icontype == "complete")) then
MMIcon = Questie:GetBlankNoteFrame();
@@ -592,7 +592,7 @@ function Questie:DRAW_NOTES()
Astrolabe:PlaceIconOnMinimap(MMIcon, v.continent, v.zoneid, v.x, v.y);
table.insert(QuestieUsedNoteFrames, MMIcon);
end
- end
+ end--]]
end
for k, Continent in pairs(QuestieMapNotes) do
for zone, noteHeap in pairs(Continent) do
@@ -709,7 +709,7 @@ function Questie:DRAW_NOTES()
else
Questie:Clear_Note(Icon);
end
- MMIcon = Questie:GetBlankNoteFrame();
+ --[[MMIcon = Questie:GetBlankNoteFrame();
MMIcon.data = v;
MMIcon:SetParent(Minimap);
MMIcon:SetFrameLevel(7);
@@ -723,7 +723,7 @@ function Questie:DRAW_NOTES()
MMIcon.texture:SetTexture(QuestieIcons[v.icontype].path);
MMIcon.texture:SetAllPoints(MMIcon)
Astrolabe:PlaceIconOnMinimap(MMIcon, v.continent, v.zoneid, v.x, v.y);
- table.insert(QuestieUsedNoteFrames, MMIcon);
+ table.insert(QuestieUsedNoteFrames, MMIcon);--]]
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment