--- a/share/hedgewars/Data/Scripts/Animate.lua Sat Nov 26 20:27:41 2016 +0100
+++ b/share/hedgewars/Data/Scripts/Animate.lua Sat Nov 26 22:16:45 2016 +0100
@@ -288,6 +288,7 @@
function Animate(steps)
if skipping == true then
animPos = 1
+ SetCinematicMode(false)
SetInputMask(0xFFFFFFFF)
SkipAnimation(steps)
return true
@@ -299,6 +300,7 @@
if steps[animPos] == nil then
animPos = 1
+ SetCinematicMode(false)
SetInputMask(0xFFFFFFFF)
return true
end
@@ -309,6 +311,7 @@
end
SetInputMask(bnot(gmAnimate+gmAttack+gmDown+gmHJump+gmLeft+gmLJump+gmRight+gmSlot+gmSwitch+gmTimer+gmUp+gmWeapon))
+ SetCinematicMode(true)
retVal = steps[animPos].func(unpack(steps[animPos].args))
if (retVal ~= false) then
animPos = animPos + 1