WoWInterface SVN MountRandomMount

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 21 to Rev 22
    Reverse comparison

Rev 21 → Rev 22

MountRandomMount_GUI.lua
30,7 → 30,7
table.foreach(mounts, function(k,v)
if GetSpellInfo(v) ~= nil then
local spellName = GetSpellInfo(v)
optionTableMount[spellName] = {
optionTableMount[spellName..v] = {
order = k,
name = spellName,
type = "toggle",
65,10 → 65,10
return false
end
}
table.insert(allMountsOrder, spellName)
allmounts[spellName] = optionTableMount[spellName]
table.insert(allMountsOrder, spellName..v)
allmounts[spellName..v] = optionTableMount[spellName..v]
else
print('The mount '..v..' does not exist')
--print('The mount '..v..' does not exist')
end
end)
if i ~= 0 then
119,7 → 119,7
table.foreach(mounts, function(k,v)
if GetSpellInfo(v) ~= nil then
local spellName = GetSpellInfo(v)
optionTableMount[spellName] = {
optionTableMount[spellName..v] = {
order = k,
name = spellName,
type = "toggle",
154,10 → 154,10
return false
end
}
table.insert(allMountsOrder, spellName)
allmounts[spellName] = optionTableMount[spellName]
table.insert(allMountsOrder, spellName..v)
allmounts[spellName..v] = optionTableMount[spellName..v]
else
print('The mount '..v..' does not exist')
--print('The mount '..v..' does not exist')
end
end)
if i ~= 0 then