/trunk
local self = PetListPlus |
self.selected = { |
["MOUNT"] = 0, |
["CRITTER"] = 0, |
["MOUNT"] = 1, |
["CRITTER"] = 1, |
} |
self.offset = { |
["MOUNT"] = 0, |
self.buttons[count].name:SetText(creatureName) |
if i == self.selected[mode] then |
self.buttons[count]:SetChecked(1) |
self.model:SetCreature(creatureID) |
else |
self.buttons[count]:SetChecked(0) |
end |
local mode = PetPaperDollFrameCompanionFrame.mode |
local creatureID, creatureName, spellID, icon, active = GetCompanionInfo(mode, i) |
self.model:SetCreature(creatureID) |
--self.model:SetCreature(creatureID) |
if IsModifiedClick() then |
if ( IsModifiedClick("CHATLINK") ) then |
if ( MacroFrame and MacroFrame:IsShown() ) then |