Add a "No Stance/Form" toggle to the visibility driver options, to hide a bar when in stance 0 (no form).

This commit is contained in:
Hendrik Leppkes
2009-04-01 10:54:49 +02:00
parent 7ae74d626f
commit 67037ce359
+4
View File
@@ -160,6 +160,10 @@ local stanceClasses = {
local function getStanceTable()
local tbl = {}
if class ~= "WARRIOR" then
tbl[0] = L["No Stance/Form"]
end
local num = GetNumShapeshiftForms()
for i = 1, num do
tbl[i] = select(2, GetShapeshiftFormInfo(i))