ASA, final: Don't say "missed" or "yes sir" after blowing up barrels
authorWuzzy <Wuzzy2@mail.ru>
Tue, 11 Sep 2018 17:22:54 +0200
changeset 13770 baf15d31cd42
parent 13769 e874bfe563c7
child 13771 f26c9e931f5a
ASA, final: Don't say "missed" or "yes sir" after blowing up barrels
ChangeLog.txt
share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/final.lua
--- a/ChangeLog.txt	Tue Sep 11 16:18:24 2018 +0200
+++ b/ChangeLog.txt	Tue Sep 11 17:22:54 2018 +0200
@@ -90,7 +90,8 @@
  + 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
+ * A Space Adventure: Fix clan membership of PAotH in main Death Planet mission
+ * A Space Adventure, final mission: Don't say "Missed" or "Yes, Sir!" when inappropriate
  * The Great Escape: Infinite attack mode did not work
  * Shotgun/Sniper Rifle Target Practicse: Suppress “X remaining” message
  * Fix resurrection animation appearing at wrong position for some missions and styles
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/final.lua	Tue Sep 11 16:18:24 2018 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/final.lua	Tue Sep 11 17:22:54 2018 +0200
@@ -160,6 +160,8 @@
 end
 
 function heroBoomReaction(gear)
+	SetSoundMask(sndMissed, true)
+	SetSoundMask(sndYesSir, true)
 	if GetHealth(gear) and GetHealth(gear) > 0 then
 		HogSay(gear, loc("Kaboom! Hahahaha! Take this, stupid meteorite!"), SAY_SHOUT, 2)
 	end