Fix ASA: A frozen adventure not working when starting from checkpoint
authorWuzzy <almikes@aol.com>
Mon, 25 Sep 2017 21:18:59 +0200
changeset 12522 228ebbc8656d
parent 12521 1877ca9e8703
child 12523 f2a19a6056be
Fix ASA: A frozen adventure not working when starting from checkpoint
share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua	Mon Sep 25 20:46:26 2017 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua	Mon Sep 25 21:18:59 2017 +0200
@@ -147,7 +147,7 @@
 		AnimSetGearPosition(hero.gear, 1450, 910)
 	end
 
-	AnimInit(true)
+	AnimInit(checkPointReached == 1)
 	AnimationSetup()
 end