- Multiply the resulting velocity by the player's speed when "jumping" underwater.

SVN r4209 (trunk)
This commit is contained in:
Randy Heit 2013-04-09 21:57:48 +00:00
parent 0d89183aa7
commit 0a9a54fca8
1 changed files with 2 additions and 3 deletions

View File

@ -2338,10 +2338,9 @@ void P_PlayerThink (player_t *player)
// Jumping while crouching will force an un-crouch but not jump
player->crouching = 1;
}
else
if (player->mo->waterlevel >= 2)
else if (player->mo->waterlevel >= 2)
{
player->mo->velz = 4*FRACUNIT;
player->mo->velz = FixedMul(4*FRACUNIT, player->mo->Speed);
}
else if (player->mo->flags & MF_NOGRAVITY)
{