# HG changeset patch # User Periklis Ntanasis # Date 1379029435 -10800 # Node ID 0e633b929825c76039e5c29904f0d0583b33a429 # Parent 55c82fd210cbf6cc288457991802557d47fb89ba should fix deadlock checkpoint reported by Wuzzy diff -r 55c82fd210cb -r 0e633b929825 share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua --- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua Fri Sep 13 02:22:57 2013 +0300 +++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua Fri Sep 13 02:43:55 2013 +0300 @@ -376,12 +376,16 @@ end function heroAtCheckpoint2(gear) - saveCheckPointLocal("2") + if GetAmmoCount(hero.gear, amRope) > 0 or GetAmmoCount(hero.gear, amParachute) > 0 then + saveCheckPointLocal("2") + end secondBattle() end function heroAtCheckpoint3(gear) - saveCheckPointLocal("3") + if GetAmmoCount(hero.gear, amRope) > 0 then + saveCheckPointLocal("3") + end secondBattle() end