mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +00:00
- fixed usedown code from this morning.
SVN r2049 (trunk)
This commit is contained in:
parent
350b5943f6
commit
abd9c62983
1 changed files with 6 additions and 3 deletions
|
@ -2288,10 +2288,13 @@ void P_PlayerThink (player_t *player)
|
|||
}
|
||||
}
|
||||
// check for use
|
||||
if ((cmd->ucmd.buttons & BT_USE) && !player->usedown)
|
||||
if (cmd->ucmd.buttons & BT_USE)
|
||||
{
|
||||
player->usedown = true;
|
||||
P_UseLines (player);
|
||||
if (!player->usedown)
|
||||
{
|
||||
player->usedown = true;
|
||||
P_UseLines (player);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue