diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 1c06b3137a..70c62191f6 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -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 diff --git a/src/p_user.cpp b/src/p_user.cpp index bd01dd01ed..fe1ed217d9 100644 --- a/src/p_user.cpp +++ b/src/p_user.cpp @@ -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; }