share/hedgewars/Data/Scripts/Animate.lua
changeset 13750 110d6c1e817f
parent 13740 2bb7141496a9
child 14231 74bf2d906097
equal deleted inserted replaced
13749:0e8db74ec585 13750:110d6c1e817f
   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     SetTurnTimeLeft(cMaxTurnTime)
   313     SetTurnTimeLeft(MAX_TURN_TIME)
   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