- Fixed: Totally freezing a player did not ignore crouch toggling.
SVN r3341 (trunk)
This commit is contained in:
parent
00d3e1975f
commit
d9713669f1
3 changed files with 13 additions and 5 deletions
|
|
@ -2353,9 +2353,10 @@ void Net_DoCommand (int type, BYTE **stream, int player)
|
|||
|
||||
case DEM_CROUCH:
|
||||
if (gamestate == GS_LEVEL && players[player].mo != NULL &&
|
||||
players[player].health > 0 && !(players[player].oldbuttons & BT_JUMP))
|
||||
players[player].health > 0 && !(players[player].oldbuttons & BT_JUMP) &&
|
||||
!P_IsPlayerTotallyFrozen(&players[player]))
|
||||
{
|
||||
players[player].crouching = players[player].crouchdir<0? 1 : -1;
|
||||
players[player].crouching = players[player].crouchdir < 0 ? 1 : -1;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue