Allow clonk to use tools during wall jumps

rope
Maikel de Vries 2012-02-13 20:13:13 +01:00
parent 00a4002711
commit b1adfde389
1 changed files with 2 additions and 1 deletions

View File

@ -404,7 +404,8 @@ func HasHandAction(sec, just_wear)
func HasActionProcedure()
{
if(GetAction() == "Walk" || GetAction() == "Jump" || GetAction() == "Kneel" || GetAction() == "Ride")
var action = GetAction();
if (action == "Walk" || action == "Jump" || action == "WallJump" || action == "Kneel" || action == "Ride")
return true;
return false;
}