Ignore:
Timestamp:
Mar 9, 2014, 12:41:25 AM (11 years ago)
Author:
maron
Message:
  • Fixed: error in addon showing available quest
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Export/files/5.4.0/CzWoW/CzWoW.lua

    r794 r799  
    432432        local titleIndex = 1;
    433433        old_GossipFrameActiveQuestsUpdate(...);
    434         for i=1, select("#", ...), 3 do
     434        for i=1, select("#", ...), 4 do
    435435                titleButton = _G["GossipTitleButton" .. titleIndex];
    436436                        if getglobal("CZWOW_QuestTitle_1")[trim(select(i, ...))] then
     
    446446        local titleIndex = 1;
    447447        old_GossipFrameAvailableQuestsUpdate(...);
    448         for i=1, select("#", ...), 3 do
    449                 titleButton = _G["GossipTitleButton" .. titleIndex];
     448        for i=1, select("#", ...), 5 do
     449                --titleButton = _G["GossipTitleButton" .. titleIndex];
     450    titleButton = getglobal("GossipTitleButton" .. titleIndex);   
     451    if (titleButton == nil) then else
    450452                                titleButton:SetText(Translate(select(i, ...)));
     453    end
    451454                titleIndex = titleIndex + 1;
    452455        end
Note: See TracChangeset for help on using the changeset viewer.