# HG changeset patch # User Periklis Ntanasis # Date 1376097386 -10800 # Node ID adc05ca2cb10ca1e53356c4456d3aa44b5cc4393 # Parent cdba61cfba93c30750722bd5aa5432731ab1f530 some fixes to the map and the events diff -r cdba61cfba93 -r adc05ca2cb10 share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.hwp Binary file share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.hwp has changed diff -r cdba61cfba93 -r adc05ca2cb10 share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.lua --- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.lua Sat Aug 10 03:56:50 2013 +0300 +++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.lua Sat Aug 10 04:16:26 2013 +0300 @@ -252,7 +252,7 @@ end function onEscapeWin(gear) - if not hero.dead and GetX(hero.gear) < 170 and GetY(hero.gear > 1980) and StoppedGear(hero.gear) then + if not hero.dead and GetX(hero.gear) < 170 and GetY(hero.gear) > 1980 and StoppedGear(hero.gear) then return true end return false @@ -294,6 +294,7 @@ AddEvent(onBattleWin, {hero.gear}, battleWin, {hero.gear}, 0) AddAnim(dialog02) elseif GetX(hero.gear) > hero.x then + HogTurnLeft(hero.gear, true) AddEvent(onEscapeWin, {hero.gear}, escapeWin, {hero.gear}, 0) local greenTeam = { green2, green3, green4 } for i=1,3 do