- 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
|
|
@ -2255,7 +2255,8 @@ void Net_DoCommand (int type, byte **stream, int player)
|
|||
break;
|
||||
|
||||
case DEM_CROUCH:
|
||||
if (gamestate == GS_LEVEL && players[player].mo != NULL && players[player].health > 0)
|
||||
if (gamestate == GS_LEVEL && players[player].mo != NULL &&
|
||||
players[player].health > 0 && !(players[player].oldbuttons & BT_JUMP))
|
||||
{
|
||||
players[player].crouching = players[player].crouchdir<0? 1 : -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue