- moved the xor method out to IceHUD instead of being a CastBar local function

- made second threat bar and aggro bar behave properly with new invert/reverse
This commit is contained in:
Parnic
2010-07-20 03:17:49 +00:00
parent c6dbacc5fa
commit ecb71c9abc
3 changed files with 21 additions and 14 deletions

View File

@ -883,3 +883,7 @@ function IceHUD:ShouldSwapToVehicle(...)
return true
end
end
function IceHUD:xor(val1, val2)
return val1 and not val2 or val2 and not val1
end