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

@@ -83,7 +83,7 @@ MarketCategoryStrings = {
}
function getMarketCategoryName(id)
if table.hasKey(MarketCategoryStrings, id) then
if table.haskey(MarketCategoryStrings, id) then
return MarketCategoryStrings[id]
end
end
@@ -135,7 +135,7 @@ MarketItemDescriptionStrings = {
}
function getMarketDescriptionName(id)
if table.hasKey(MarketItemDescriptionStrings, id) then
if table.haskey(MarketItemDescriptionStrings, id) then
return MarketItemDescriptionStrings[id]
end
end
@@ -171,7 +171,7 @@ function getMarketSlotFilterId(name)
end
function getMarketSlotFilterName(id)
if table.hasKey(MarketSlotFilters, id) then
if table.haskey(MarketSlotFilters, id) then
return MarketSlotFilters[id]
end
end
end