share/hedgewars/Data/Scripts/Animate.lua
changeset 13745 2bb7141496a9
parent 13689 739fd039daaa
child 13755 110d6c1e817f
equal deleted inserted replaced
13744:b3b55b03d499 13745:2bb7141496a9
   308 function ShowAnimation()
   308 function ShowAnimation()
   309   if AnimListNum == 0 then
   309   if AnimListNum == 0 then
   310     skipping = false
   310     skipping = false
   311     return true
   311     return true
   312   else
   312   else
   313     TurnTimeLeft = -1
   313     SetTurnTimeLeft(cMaxTurnTime)
   314     if Animate(AnimList[1]) == true then
   314     if Animate(AnimList[1]) == true then
   315       RemoveAnim()
   315       RemoveAnim()
   316     end
   316     end
   317   end
   317   end
   318   return false
   318   return false