share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua
changeset 12608 1d33d66e40a7
parent 12595 b4b5484be651
child 12938 e65aa3c3d4e6
equal deleted inserted replaced
12607:a9a7ef966e72 12608:1d33d66e40a7
   252 		else
   252 		else
   253 			AnimSwitchHog(hero.gear)
   253 			AnimSwitchHog(hero.gear)
   254 			EndTurn(true)
   254 			EndTurn(true)
   255 		end
   255 		end
   256 	elseif CurrentHedgehog == ally.gear then
   256 	elseif CurrentHedgehog == ally.gear then
   257 		AddCaption("")
   257 		-- This switches back to hero (indirectly)
   258 		AnimSwitchHog(hero.gear)
   258 		SwitchHog(bandit1.gear)
       
   259 		EndTurn(true)
   259 	end
   260 	end
   260 	-- frozen hogs accounting
   261 	-- frozen hogs accounting
   261 	if CurrentHedgehog == hero.gear and heroAtFinalStep and TurnTimeLeft > 0 then
   262 	if CurrentHedgehog == hero.gear and heroAtFinalStep and TurnTimeLeft > 0 then
   262 		if bandit1.frozen then
   263 		if bandit1.frozen then
   263 			if bandit1.roundsToUnfreeze == 0 then
   264 			if bandit1.roundsToUnfreeze == 0 then