share/hedgewars/Data/Scripts/Animate.lua
changeset 9245 1dfdf35dd35d
parent 7448 d0521a3a4358
child 12084 ccab0d396a7f
--- a/share/hedgewars/Data/Scripts/Animate.lua	Thu Jun 20 11:15:50 2013 +0400
+++ b/share/hedgewars/Data/Scripts/Animate.lua	Fri Jun 21 12:26:55 2013 -0400
@@ -308,7 +308,7 @@
       AnimSwitchHog(steps[animPos].args[1])
   end
 
-  SetInputMask(band(0xFFFFFFFF, bnot(gmAnimate+gmAttack+gmDown+gmHJump+gmLeft+gmLJump+gmRight+gmSlot+gmSwitch+gmTimer+gmUp+gmWeapon)))
+  SetInputMask(bnot(gmAnimate+gmAttack+gmDown+gmHJump+gmLeft+gmLJump+gmRight+gmSlot+gmSwitch+gmTimer+gmUp+gmWeapon))
   retVal = steps[animPos].func(unpack(steps[animPos].args))
   if (retVal ~= false) then
     animPos = animPos + 1