Set fixed wind in bazooka training. Fixed impossible first target when bad wind
authorWuzzy <almikes@aol.com>
Wed, 26 Apr 2017 23:23:18 +0200
changeset 12350 b0293e4ef0de
parent 12349 877f55c77a3f
child 12351 fb22caa19600
Set fixed wind in bazooka training. Fixed impossible first target when bad wind
share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua
--- a/share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua	Wed Apr 26 23:05:05 2017 +0200
+++ b/share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua	Wed Apr 26 23:23:18 2017 +0200
@@ -66,7 +66,7 @@
 	-- The base number for the random number generator
 	Seed = 1
 	-- Game settings and rules
-    EnableGameFlags(gfMultiWeapon, gfOneClanMode, gfSolidLand)
+    EnableGameFlags(gfMultiWeapon, gfOneClanMode, gfSolidLand, gfDisableWind)
     -- Uncommenting this wouldn't do anything
     --EnableGameFlags(gfMultiWeapon, gfOneClanMode, gfSolidLand)
     -- Neither this
@@ -108,6 +108,7 @@
 	SendHealthStatsOff()
 	-- Spawn the first target.
 	spawnTarget()
+	SetWind(-20)
 	
 	-- Show some nice mission goals.
 	-- Parameters are: caption, sub caption, description,