fixed bug making the game not end when thanta was dead,reported by Wuzzy spacecampaign
authorPeriklis Ntanasis <pntanasis@gmail.com>
Sat, 14 Sep 2013 02:13:20 +0300
branchspacecampaign
changeset 9624 51e22761679d
parent 9623 d3f7d1b8b46d
child 9625 18f04441636b
fixed bug making the game not end when thanta was dead,reported by Wuzzy
share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua	Sat Sep 14 01:00:38 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua	Sat Sep 14 02:13:20 2013 +0300
@@ -198,11 +198,10 @@
 	AddEvent(onHeroFinalStep, {hero.gear}, heroFinalStep, {hero.gear}, 0)
 	AddEvent(onAntiFlyArea, {hero.gear}, antiFlyArea, {hero.gear}, 1)
 	AddEvent(onNonAntiFlyArea, {hero.gear}, nonAntiFlyArea, {hero.gear}, 1)
-	AddEvent(onThantaDeath, {bandit1.gear}, thantaDeath, {bandit1.gear}, 1)
+	AddEvent(onThantaDeath, {bandit1.gear}, thantaDeath, {bandit1.gear}, 0)
 	AddEvent(onHeroWin, {hero.gear}, heroWin, {hero.gear}, 0)
 	
 	AddAmmo(hero.gear, amJetpack, 99)
-	AddAmmo(hero.gear, amTeleport, 99)
 	AddAmmo(bandit1.gear, amBazooka, 5)
 	AddAmmo(bandit2.gear, amBazooka, 4)
 	AddAmmo(bandit3.gear, amMine, 2)