- [Combos] takes being on a vehicle in account

- "vehicle" is now a valid unit.
This commit is contained in:
grum
2008-11-21 09:55:22 +00:00
parent 562c41eff4
commit 1f786d228d
2 changed files with 3 additions and 3 deletions

View File

@ -90,7 +90,7 @@ setmetatable(UnitToLocale, {__index=function(self, unit)
end})
DogTag.UnitToLocale = UnitToLocale
local IsLegitimateUnit = { player = true, target = true, focus = true, pet = true, playerpet = true, mouseover = true, npc = true, NPC = true }
local IsLegitimateUnit = { player = true, target = true, focus = true, pet = true, playerpet = true, mouseover = true, npc = true, NPC = true, vehicle = true }
DogTag.IsLegitimateUnit = IsLegitimateUnit
local IsNormalUnit = { player = true, target = true, focus = true, pet = true, playerpet = true, mouseover = true }
DogTag.IsNormalUnit = IsNormalUnit
@ -378,4 +378,4 @@ DogTag:AddCompilationStep("Unit", "tagevents", function(ast, t, u, tag, tagData,
end
end)
end
end