From 0daaf9fe151223c4f585038fb994984c8f8bab8b Mon Sep 17 00:00:00 2001 From: ackis Date: Fri, 29 May 2009 18:42:55 +0000 Subject: [PATCH] You know what, lets make trainers show up on the map list, I know I have trouble finding them, and I'm sure there are other retards just like me. --- ARLFrame.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ARLFrame.lua b/ARLFrame.lua index a05649e..a064865 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -443,8 +443,7 @@ do -- If it's a trainer, we don't display them on the mini-map if (v["Type"] == 1) then - --display = ((trainerDB[v["ID"]]["Faction"] == BFAC[myFaction]) or (trainerDB[v["ID"]]["Faction"] == factionNeutral)) - return false + display = ((trainerDB[v["ID"]]["Faction"] == BFAC[myFaction]) or (trainerDB[v["ID"]]["Faction"] == factionNeutral)) -- If it's a vendor check to see if we're displaying it on the map elseif (v["Type"] == 2) then display = ((vendorDB[v["ID"]]["Faction"] == BFAC[myFaction]) or (vendorDB[v["ID"]]["Faction"] == factionNeutral)) @@ -537,7 +536,9 @@ do local loc = nil -- Get the entries location - if (maplist[k] == 2) then + if (maplist[k] == 1) then + loc = trainerDB[k] + elseif (maplist[k] == 2) then loc = vendorDB[k] elseif (maplist[k] == 3) then loc = mobDB[k] -- 1.7.9.5