mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-23 04:52:16 +00:00
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@55 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
47dc455006
commit
9d5e302c9c
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue