mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-30 07:41:22 +00:00
- Multiply the resulting velocity by the player's speed when "jumping" underwater.
SVN r4209 (trunk)
This commit is contained in:
parent
0d89183aa7
commit
0a9a54fca8
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue