fix bug that make precise key not responding spacecampaign
authorPeriklis Ntanasis <pntanasis@gmail.com>
Sat, 10 Aug 2013 20:44:26 +0300
branchspacecampaign
changeset 9512 9686c9116020
parent 9510 e7481fac10c4
child 9514 b72e99bcc423
fix bug that make precise key not responding
share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.lua	Sat Aug 10 20:38:20 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.lua	Sat Aug 10 20:44:26 2013 +0300
@@ -98,7 +98,7 @@
 	HogTurnLeft(hero.gear, true)
 	-- Green Bananas
 	AddTeam(teamB.name, teamB.color, "Bone", "Island", "HillBilly", "cm_birdy")
-	green1.gear = AddHog(green1.name, 1, 100, "war_desertgrenadier1")
+	green1.gear = AddHog(green1.name, 0, 100, "war_desertgrenadier1")
 	AnimSetGearPosition(green1.gear, green1.x, green1.y)
 	green2.gear = AddHog(green2.name, 0, 100, "war_desertgrenadier1")
 	AnimSetGearPosition(green2.gear, green2.x, green2.y)
@@ -315,8 +315,8 @@
 		HogTurnLeft(hero.gear, true)
 		AddAmmo(green1.gear, amSwitch, 100)
 		AddEvent(onEscapeWin, {hero.gear}, escapeWin, {hero.gear}, 0)
-		local greenTeam = { green2, green3, green4 }
-		for i=1,3 do
+		local greenTeam = { green1, green2, green3, green4 }
+		for i=1,4 do
 			SetHogLevel(greenTeam[i].gear, 1)
 		end
 		AddAnim(dialog03)