share/hedgewars/Data/Scripts/Multiplayer/No_Jumping.lua
author mikade
Tue, 21 Jun 2011 20:49:47 +0200
changeset 5277 09beef0752ab
parent 4893 353781305c07
child 5325 261b79ba22b1
permissions -rw-r--r--
PianoStrike exploit fix for Capture The Flag. New Gameplay Mode: The Specialists

--------------------------------
-- NO JUMPING
--------------------------------

loadfile(GetDataPath() .. "Scripts/Locale.lua")()

function onGameInit()
    Goals = loc("Jumping is disabled")
end

--function onGameStart()
--	ShowMission(loc("NO JUMPING"), loc("- Jumping is disabled"), loc("Good luck out there!"), 0, 0)
--end

function onNewTurn()
	SetInputMask(band(0xFFFFFFFF, bnot(gmLJump + gmHJump)))
end