Some fixes to spells/cooldowns.

* Fixed 'progress' bug for spells in the cooldown module.
* Fixed a bug with GameForceFirstAutoWalkStep feature.
* Moved the spells ID to its SpellInfo row.
* Lower cased table functions (consistant).
This commit is contained in:
BeniS
2013-01-29 19:26:32 +13:00
parent b7eef97239
commit ec30567d6b
10 changed files with 225 additions and 168 deletions

View File

@@ -59,7 +59,7 @@ function UIComboBox:setCurrentIndex(index)
end
function UIComboBox:getCurrentOption()
if table.hasKey(self.options, self.currentIndex) then
if table.haskey(self.options, self.currentIndex) then
return self.options[self.currentIndex]
end
end

View File

@@ -216,7 +216,7 @@ end
function UITable:setHeaderColumnStyle(style)
self.headerColumnBaseStyle = style
if table.hasKey(HEADER_ID) then
if table.haskey(HEADER_ID) then
self.columns[HEADER_ID]:setStyle(style)
end
end