From b1adfde389ccf00f2815c7731037d75b4c3c8cbe Mon Sep 17 00:00:00 2001 From: Maikel de Vries Date: Mon, 13 Feb 2012 20:13:13 +0100 Subject: [PATCH] Allow clonk to use tools during wall jumps --- planet/Objects.ocd/Clonk.ocd/Script.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/planet/Objects.ocd/Clonk.ocd/Script.c b/planet/Objects.ocd/Clonk.ocd/Script.c index f712429da..f6131752c 100644 --- a/planet/Objects.ocd/Clonk.ocd/Script.c +++ b/planet/Objects.ocd/Clonk.ocd/Script.c @@ -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; }