- Fixed: Jumping and crouching at the same time created jerky results.
Now jumping takes precedence and you can't crouch while pressing the jump key (which causes an uncrouch.) SVN r213 (trunk)
This commit is contained in:
parent
e6268bf0a2
commit
a0c912ef2d
3 changed files with 8 additions and 1 deletions
|
|
@ -1422,6 +1422,7 @@ void P_PlayerThink (player_t *player)
|
|||
}
|
||||
|
||||
// Handle crouching
|
||||
if (player->cmd.ucmd.buttons & BT_JUMP) player->cmd.ucmd.buttons &= ~BT_DUCK;
|
||||
if (player->morphTics == 0 && player->health > 0 && !(dmflags & DF_NO_CROUCH))
|
||||
{
|
||||
if (!(player->cheats & CF_TOTALLYFROZEN))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue