Mantis 0001011:

o Releasing duck quickly after pressing it will no longer make the player bounce

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@48 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
tankefugl 2005-04-10 19:57:28 +00:00
parent 0a2131ecfc
commit f3a6a36a35

View file

@ -4075,7 +4075,8 @@ void PM_UnDuck( void )
VectorCopy( pmove->origin, newOrigin );
if ( pmove->onground != -1 )
// tankefugl: remove the jump when pressing and releasing duck quickly
if ( pmove->onground != -1 && pmove->flags & FL_DUCKING && pmove->bInDuck == false)
{
int theStandingHull = AvHMUGetHull(false, pmove->iuser3);
int theCrouchingHull = AvHMUGetHull(true, pmove->iuser3);