- maybe fix some vehicle issues in ulduar

This commit is contained in:
Parnic
2009-08-12 07:26:34 +00:00
parent 208dda34d5
commit cfebb9f5af
4 changed files with 23 additions and 9 deletions

View File

@ -851,3 +851,17 @@ function IceHUD:Clamp(value, min, max)
return value
end
function IceHUD:ShouldSwapToVehicle(...)
local arg1, arg2 = ...
if (arg1 == "player") then
if (arg2) then
return true
end
end
if (UnitHasVehicleUI("player")) then
return true
end
end