From 0b5e6d8910980341092271debd883aad4eeb7ed8 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Thu, 1 Jul 2010 02:23:13 -0400 Subject: [PATCH] Only debug-print 0x, 0y coords for non-instance locations. --- Waypoint.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Waypoint.lua b/Waypoint.lua index c6cc081..dd41222 100644 --- a/Waypoint.lua +++ b/Waypoint.lua @@ -514,22 +514,21 @@ function addon:SetupMap(single_recipe) --@end-alpha@ if zone and continent then - --@alpha@ - if x == 0 and y == 0 then + if x == 0 and y == 0 and not INSTANCE_LOCATIONS[location] then addon:Debug("Location is \"0, 0\" for ID %d. Location: %s.", spell_id, location) end - --@end-alpha@ + local iconuid = TomTom:AddZWaypoint(continent, zone, x, y, name, false, minimap, worldmap) tinsert(iconlist, iconuid) else --@alpha@ if not zone then - self:Printf("No zone for ID %d. Location: %s.", spell_id, location) + self:Debug("No zone for ID %d. Location: %s.", spell_id, location) end if not continent then - self:Printf("No continent for ID %d. Location: %s.", spell_id, location) + self:Debug("No continent for ID %d. Location: %s.", spell_id, location) end --@end-alpha@ end -- 1.7.9.5