mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 20:50:58 +00:00
Merge branch 'unslide' into 'master'
Unslide (resolves #369). Closes #369 See merge request STJr/SRB2Internal!556
This commit is contained in:
commit
e49e91c355
1 changed files with 2 additions and 0 deletions
|
@ -5962,6 +5962,8 @@ static void P_3dMovement(player_t *player)
|
||||||
// When sliding, don't allow forward/back
|
// When sliding, don't allow forward/back
|
||||||
if (player->pflags & PF_SLIDING)
|
if (player->pflags & PF_SLIDING)
|
||||||
cmd->forwardmove = 0;
|
cmd->forwardmove = 0;
|
||||||
|
else if (onground && player->mo->state == states+S_PLAY_PAIN)
|
||||||
|
P_SetPlayerMobjState(player->mo, S_PLAY_WALK);
|
||||||
|
|
||||||
player->aiming = cmd->aiming<<FRACBITS;
|
player->aiming = cmd->aiming<<FRACBITS;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue