From fe6416b965b523790c89a7a125dfeb1f6ca5f350 Mon Sep 17 00:00:00 2001 From: driAn Date: Sat, 15 Dec 2007 15:52:32 +0000 Subject: [PATCH] disabled jumping while crouching git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1457 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/physics.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/src/physics.cpp b/source/src/physics.cpp index ce2893d7..82f6662b 100644 --- a/source/src/physics.cpp +++ b/source/src/physics.cpp @@ -491,6 +491,7 @@ void jumpn(bool on) { if(on) toggledeathcam(); } + else if(player1->crouching) return; else player1->jumpnext = on; }