mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- Fixed: Crouching no longer worked due to a bug introduced by the
player input code. SVN r1218 (trunk)
This commit is contained in:
parent
67e65c4ea5
commit
90e3bef2ab
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue