mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-19 18:12:06 +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,11 +2288,14 @@ void P_PlayerThink (player_t *player)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// check for use
|
// check for use
|
||||||
if ((cmd->ucmd.buttons & BT_USE) && !player->usedown)
|
if (cmd->ucmd.buttons & BT_USE)
|
||||||
|
{
|
||||||
|
if (!player->usedown)
|
||||||
{
|
{
|
||||||
player->usedown = true;
|
player->usedown = true;
|
||||||
P_UseLines (player);
|
P_UseLines (player);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
player->usedown = false;
|
player->usedown = false;
|
||||||
|
|
Loading…
Reference in a new issue