WxW: Don't register wall touch if not gstHHDriven
authorWuzzy <Wuzzy2@mail.ru>
Mon, 08 Apr 2019 19:02:01 +0200
changeset 14777 f5dcf47dff2c
parent 14776 97a36fb44123
child 14778 a9f32ff53389
WxW: Don't register wall touch if not gstHHDriven
ChangeLog.txt
share/hedgewars/Data/Scripts/Multiplayer/WxW.lua
--- a/ChangeLog.txt	Mon Apr 08 17:59:38 2019 +0200
+++ b/ChangeLog.txt	Mon Apr 08 19:02:01 2019 +0200
@@ -23,6 +23,8 @@
  + The Specialists: Add script parameter support to set custom specialists order
  * Balanced Random Weapon: Fix Lua errors after using Time Box
  * Racer: Fix racer ghost not getting reset after a skip
+ * Battalion, WxW: Crates drop between turns, when appropriate
+ * Battalion: Make Sudden Death effects with the base game
  * King Mode: Fix team sometimes not being killed properly if king drowned
  * King Mode: Kill resurrected minions if king is not alive
  * HedgeEditor: Fix major FPS drop when there are a lot of objects
--- a/share/hedgewars/Data/Scripts/Multiplayer/WxW.lua	Mon Apr 08 17:59:38 2019 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/WxW.lua	Mon Apr 08 19:02:01 2019 +0200
@@ -1586,8 +1586,8 @@
 			gTimer = 1
 
 			if roundN == 100 then
-				CheckForWallCollision()
 				if band(GetState(CurrentHedgehog), gstHHDriven) ~= 0 then
+					CheckForWallCollision()
 					CheckCrateConditions()
 				end