Use gfMultiWeapon in target practice missions
authorWuzzy <Wuzzy2@mail.ru>
Tue, 07 Aug 2018 01:31:50 +0200
changeset 13620 211a37eb6a29
parent 13619 525686876f98
child 13621 0c797469d16d
Use gfMultiWeapon in target practice missions
ChangeLog.txt
share/hedgewars/Data/Scripts/TargetPractice.lua
--- a/ChangeLog.txt	Tue Aug 07 01:28:19 2018 +0200
+++ b/ChangeLog.txt	Tue Aug 07 01:31:50 2018 +0200
@@ -66,6 +66,7 @@
  + A Space Adventure, final mission: Terrain types are easier to distinguish
  * 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
 
 Content:
  + New Sudden Death water texture for CrazyMission theme
--- a/share/hedgewars/Data/Scripts/TargetPractice.lua	Tue Aug 07 01:28:19 2018 +0200
+++ b/share/hedgewars/Data/Scripts/TargetPractice.lua	Tue Aug 07 01:31:50 2018 +0200
@@ -139,7 +139,7 @@
 	_G.onGameInit = function()
 		Seed = 1
 		ClearGameFlags()
-		EnableGameFlags(gfDisableWind, gfInfAttack, gfOneClanMode, solid, artillery)
+		EnableGameFlags(gfDisableWind, gfMultiWeapon, gfOneClanMode, solid, artillery)
 		TurnTime = params.time
 		Map = params.map
 		Theme = params.theme