--- a/ChangeLog.txt Sat Sep 01 21:47:08 2018 +0200
+++ b/ChangeLog.txt Sat Sep 01 21:56:12 2018 +0200
@@ -82,6 +82,8 @@
* A Classic Fairytale: Fix clan membership of princess in some missions
* A Classic Fairytale, Mission 5: Tribe was not in same clan as Natives, screwing up stats a bit
+ A Space Adventure, final mission: Terrain types are easier to distinguish
+ * A Space Adventure, Searching in the Dust: Fix display error when destroying device crate
+ * A Space Adventure, Searching in the Dust: Don't take away control right above the pit near Sandy
* A Space Adeventure: Fix clan membership of PAotH in main Death Planet mission
* The Great Escape: Infinite attack mode did not work
* Shotgun/Sniper Rifle Target Practicse: Suppress “X remaining” message
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua Sat Sep 01 21:47:08 2018 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua Sat Sep 01 21:56:12 2018 +0200
@@ -270,11 +270,13 @@
-- Turn the other crate into a fake crate; this will “contain” the device.
SetGearPos(other_crate_table.gear, bor(GetGearPos(other_crate_table.gear), 0x8))
elseif cratesFound == 1 then
- -- Second win crate collected:
- -- This crate contains the anti-gravity part! VICTORY!
- PlaySound(sndShotgunReload)
- -- It's displayed as if collecting a normal ammo/utility crate. :-)
- AddCaption(loc("Anti-Gravity Device Part (+1)"), GetClanColor(GetHogClan(CurrentHedgehog)), capgrpAmmoinfo)
+ if not candidate_crate_table.destroyed then
+ -- Second win crate collected:
+ -- This crate contains the anti-gravity part! VICTORY!
+ PlaySound(sndShotgunReload)
+ -- It's displayed as if collecting a normal ammo/utility crate. :-)
+ AddCaption(loc("Anti-Gravity Device Part (+1)"), GetClanColor(GetHogClan(CurrentHedgehog)), capgrpAmmoinfo)
+ end
end
end