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:
tankefugl 2005-04-11 01:21:19 +00:00
parent d9dfceb86b
commit af6038ae21

View file

@ -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();