Mercurial > wow > cyborg-mmo7
diff RatPageController.lua @ 68:840c9f09a707 v6.0.3-1
Removed the old companion code, and convert saved ones (which should already be mounts, not critters) to the 'mount' type.
author | Jerome Vuarand <jerome.vuarand@gmail.com> |
---|---|
date | Thu, 23 Oct 2014 17:11:47 +0100 |
parents | 8b8b0bade520 |
children |
line wrap: on
line diff
--- a/RatPageController.lua Thu Oct 23 15:51:26 2014 +0100 +++ b/RatPageController.lua Thu Oct 23 17:11:47 2014 +0100 @@ -88,10 +88,6 @@ local index = a local name = GetMacroInfo(index) return CyborgMMO_CreateWowObject('macro', name) - elseif type=='companion' then - local index,subtype = a,b - local spellID = select(3, GetCompanionInfo(subtype, index)) - return CyborgMMO_CreateWowObject('companion', spellID) elseif type=='battlepet' then local petID = a return CyborgMMO_CreateWowObject('battlepet', petID)