frozen hogs bug seems fixed spacecampaign
authorPeriklis Ntanasis <pntanasis@gmail.com>
Tue, 30 Jul 2013 15:00:13 +0300 (2013-07-30)
branchspacecampaign
changeset 9396 fb56c2225f25
parent 9394 ccc2a2099370
child 9398 3f2ec6e1032f
frozen hogs bug seems fixed
share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua	Tue Jul 30 13:52:53 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua	Tue Jul 30 15:00:13 2013 +0300
@@ -227,7 +227,7 @@
 		if (GetHealth(bandit1.gear) and GetEffect(bandit1.gear,heFrozen) > 256) and
 			((GetHealth(bandit4.gear) and GetEffect(bandit4.gear,heFrozen) > 256) or not GetHealth(bandit4.gear)) and
 			((GetHealth(bandit5.gear) and GetEffect(bandit5.gear,heFrozen) > 256) or not GetHealth(bandit5.gear)) then
-			AnimSwitchHog(hero.gear)
+			TurnTimeLeft = 0
 		else
 			AnimSwitchHog(hero.gear)
 			TurnTimeLeft = 0