# HG changeset patch # User MMOSimca # Date 1416684236 18000 # Node ID 4a4ed54e4201faf72a43ac8f7971ab5e34d6a8e2 # Parent 73fd6e568211fce753cf3bd8ed0b2bdef411bfa2 Fixed comment issue with quests (take two) and fixed broken debug statement (take two). diff -r 73fd6e568211 -r 4a4ed54e4201 Comments.lua --- a/Comments.lua Sat Nov 22 11:13:32 2014 -0500 +++ b/Comments.lua Sat Nov 22 14:23:56 2014 -0500 @@ -202,7 +202,7 @@ WDP:Print("You must select a quest from the World Map's Quest frame.") return end - local title, _, tag, _, is_header, _, _, _, idnum = _G.GetQuestLogTitle(index) + local title, _, _, is_header, _, _, _, idnum = _G.GetQuestLogTitle(index) if is_header then WDP:Print("You must select a quest from the World Map's Quest frame.") @@ -363,7 +363,7 @@ local quest_index = _G.GetQuestLogSelection() if quest_index and _G.QuestMapFrame:IsVisible() and not _G.QuestScrollFrame:IsVisible() then - local title, _, suggested_group, is_header, _, _, _, idnum = _G.GetQuestLogTitle(quest_index) + local title, _, _, is_header = _G.GetQuestLogTitle(quest_index) if not is_header then line = display:AddLine(("Quest: %s"):format(title)) diff -r 73fd6e568211 -r 4a4ed54e4201 Main.lua --- a/Main.lua Sat Nov 22 11:13:32 2014 -0500 +++ b/Main.lua Sat Nov 22 14:23:56 2014 -0500 @@ -1288,7 +1288,7 @@ end -function WDP:SHOW_LOOT_TOAST(event_name, loot_type, item_link, quantity, spec_ID, is_personal, loot_source) +function WDP:SHOW_LOOT_TOAST(event_name, loot_type, item_link, quantity, spec_ID, sex_ID, is_personal, loot_source) if not loot_type or (loot_type ~= "item" and loot_type ~= "money" and loot_type ~= "currency") then Debug("%s: loot_type is %s. Item link is %s, and quantity is %d.", event_name, loot_type, item_link, quantity) return @@ -1297,7 +1297,7 @@ local npc_id = private.raid_boss_id -- Need information on the most recent args, so using this complete debug statement for now - Debug("%s: loot_type: %s, item_link: %s, quantity: %s, spec_ID: %s, is_personal: %s, loot_source: %s", event_name, loot_type, item_link, quantity, spec_ID, is_personal, loot_source) + Debug("%s: loot_type: %s, item_link: %s, quantity: %s, spec_ID: %s, sex_ID: %s, is_personal: %s, loot_source: %s", event_name, loot_type, item_link, quantity, spec_ID, sex_ID, is_personal, loot_source) -- Handle Garrison cache specially if lootSource and last_garrison_cache_object_id and (lootSource == private.GARRISON_CACHE_LOOT_SOURCE_ID) then