- Fixed: Crouching no longer worked due to a bug introduced by the

player input code.


SVN r1218 (trunk)
This commit is contained in:
Christoph Oelckers 2008-09-13 07:22:13 +00:00
parent 67e65c4ea5
commit 90e3bef2ab
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
September 13, 2008 (Changes by Graf Zahl)
- Fixed: Crouching no longer worked due to a bug introduced by the
player input code.
September 12, 2008
- Added GetPlayerInput() for examining a player's inputs from ACS. Most
buttons are now passed across the network, and there are four new user

View file

@ -1995,7 +1995,7 @@ void P_PlayerThink (player_t *player)
}
// Handle crouching
if (player->cmd.ucmd.buttons & BT_CROUCH)
if (player->cmd.ucmd.buttons & BT_JUMP)
{
player->cmd.ucmd.buttons &= ~BT_CROUCH;
}