share/hedgewars/Data/Scripts/Multiplayer/WxW.lua
changeset 7183 95dc11d648fb
parent 7095 b20dfa82f453
child 8043 da083f8d95e6
equal deleted inserted replaced
7181:0791c1f2734c 7183:95dc11d648fb
   596 
   596 
   597 	-- new config stuff
   597 	-- new config stuff
   598 	roundN = roundN + 1
   598 	roundN = roundN + 1
   599 	if roundN < 2 then
   599 	if roundN < 2 then
   600 		TurnTimeLeft = -1
   600 		TurnTimeLeft = -1
   601 		SetInputMask(band(0xFFFFFFFF, bnot(gmAnimate+gmAttack+gmDown+gmHJump+gmLeft+gmLJump+gmPrecise+gmRight+gmSlot+gmSwitch+gmTimer+gmUp+gmWeapon)))
   601 		SetInputMask(0)
   602 		allowCrate = false
   602 		allowCrate = false
   603 		HandleStartingStage() -- new
   603 		HandleStartingStage() -- new
   604 	end
   604 	end
   605 
   605 
   606 end
   606 end
   668 					(GetCurAmmoType() == amSkip) or
   668 					(GetCurAmmoType() == amSkip) or
   669 					(GetCurAmmoType() == amNothing)
   669 					(GetCurAmmoType() == amNothing)
   670 				then
   670 				then
   671 					SetInputMask(0xFFFFFFFF)
   671 					SetInputMask(0xFFFFFFFF)
   672 				elseif ropeG == nil then
   672 				elseif ropeG == nil then
   673 					SetInputMask(band(0xFFFFFFFF, bnot(gmAttack)))
   673 					SetInputMask(bnot(gmAttack))
   674 				end
   674 				end
   675 			end
   675 			end
   676 
   676 
   677 		end
   677 		end
   678 
   678