From 03acc702025671931a630d594a7cd045ce2795da Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 2 Jan 2006 22:59:05 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1776 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/pmove.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/common/pmove.c b/engine/common/pmove.c index 1bf4f6341..cac8ccfae 100644 --- a/engine/common/pmove.c +++ b/engine/common/pmove.c @@ -171,7 +171,7 @@ int PM_SlideMove (void) if (movevars.walljump == 2) //just bounce off! { //pinball PM_ClipVelocity (original_velocity, planes[i], pmove.velocity, 2); - return 0; + return blocked; } //regular run at a wall and jump off if (movevars.walljump && planes[i][2] != 1 //not on floors @@ -183,7 +183,7 @@ int PM_SlideMove (void) pmove.jump_msec = pmove.cmd.msec; pmove.jump_held = true; pmove.waterjumptime = 0; - return 0; + return blocked; } PM_ClipVelocity (original_velocity, planes[i], pmove.velocity, 1); for (j=0 ; j