--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit02.lua Wed Dec 04 00:46:04 2013 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit02.lua Wed Dec 04 02:08:46 2013 +0200
@@ -273,6 +273,9 @@
heroDeath()
permitCaptainLimeDeath = true
end
+ if CurrentHedgehog and GetY(CurrentHedgehog) > 1350 then
+ SetWind(-40)
+ end
end
function onGearDelete(gear)
@@ -542,11 +545,7 @@
end
function wind()
- if GetY(CurrentHedgehog) > 1350 then
- SetWind(-40)
- else
- SetWind(math.random(-100,100))
- end
+ SetWind(math.random(-100,100))
end
function saveHogsPositions()