share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua
changeset 12038 cbd9c1d41e06
parent 12037 7339122bad35
child 12039 6ef8e01bd01c
--- a/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Wed Apr 20 18:54:31 2016 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Wed Apr 20 19:04:22 2016 +0200
@@ -3341,7 +3341,7 @@
 ---------------------------------------------------------
 function onUp()
 
-	if (curWep ~= amGirder) then
+	if (curWep == amAirAttack) then
 		cIndex = cIndex - 1
 		if (cIndex == 1) or (cIndex == 2) then --1	--we no longer hit girder by normal means
 			cIndex = #cat
@@ -3356,7 +3356,7 @@
 
 function onDown()
 
-	if (curWep ~= amGirder) then
+	if (curWep == amAirAttack) then
 		cIndex = cIndex + 1
 		if cIndex > #cat then
 			cIndex = 3	 -- 2 ----we no longer hit girder by normal means