share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua
changeset 11715 511d0f2aa9bf
parent 11714 8575b8b76373
child 11716 c7cdd98bb1ec
--- a/share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua	Tue Apr 12 23:48:34 2016 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua	Tue Apr 12 23:50:49 2016 +0200
@@ -1719,7 +1719,7 @@
 ---------------------------------------------------------
 function onUp()
 
-	if ((curWep == amAirAttack) or (curWep == amNapalm) or (curWep == amDrillStrike) ) then
+	if ( (curWep == amNapalm) or (curWep == amDrillStrike) ) then
 		updatePlacementDisplay(-1)
 	end
 
@@ -1727,7 +1727,7 @@
 
 function onDown()
 
-	if ((curWep == amAirAttack) or (curWep == amNapalm) or (curWep == amDrillStrike) ) then
+	if ( (curWep == amNapalm) or (curWep == amDrillStrike) ) then
 		updatePlacementDisplay(1)
 	end