share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua
branchspacecampaign
changeset 9620 55c82fd210cb
parent 9582 bf314b2258b3
child 9621 0e633b929825
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua	Thu Sep 12 23:20:32 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua	Fri Sep 13 02:22:57 2013 +0300
@@ -418,6 +418,9 @@
 		ShowMission(unpack(goals[anim]))
     end
     AnimSwitchHog(hero.gear)
+	if anim == dialog01 then
+		startMission()
+	end
 end
 
 function AnimationSetup()
@@ -448,7 +451,7 @@
 --------------- OTHER FUNCTIONS ------------------
 
 function startMission()
-	AnimSwitchHog(bandit1.gear)
+	AnimSwitchHog(ally.gear)
 	TurnTimeLeft = 0
 end