mirror of
https://github.com/unknownworlds/NS.git
synced 2025-01-18 23:11:49 +00:00
o Fixed bug where a leaping player would lose speed and stick to the floor
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@57 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
d9dfceb86b
commit
af6038ae21
1 changed files with 8 additions and 2 deletions
|
@ -4924,7 +4924,10 @@ void PM_Jump (void)
|
|||
}
|
||||
|
||||
// See if we are waterjumping. If so, decrement count and return.
|
||||
if ( pmove->waterjumptime )
|
||||
// tankefugl: 0000972
|
||||
if (pmove->waterjumptime && !(pmove->waterlevel == 0 && pmove->iuser3 == AVH_USER3_ALIEN_PLAYER1))
|
||||
// :tankefugl
|
||||
// if ( pmove->waterjumptime )
|
||||
{
|
||||
pmove->waterjumptime -= pmove->cmd.msec;
|
||||
if (pmove->waterjumptime < 0)
|
||||
|
@ -6355,7 +6358,10 @@ void PM_PlayerMove ( qboolean server )
|
|||
}
|
||||
|
||||
// If we are leaping out of the water, just update the counters.
|
||||
if ( pmove->waterjumptime )
|
||||
// tankefugl: 0000972
|
||||
if (pmove->waterjumptime && !(pmove->waterlevel == 0 && pmove->iuser3 == AVH_USER3_ALIEN_PLAYER1))
|
||||
// :tankefugl
|
||||
// if ( pmove->waterjumptime )
|
||||
{
|
||||
PM_WaterJump();
|
||||
PM_FlyMove();
|
||||
|
|
Loading…
Reference in a new issue