- fixed usedown code from this morning.

SVN r2049 (trunk)
This commit is contained in:
Christoph Oelckers 2009-12-25 16:22:57 +00:00
parent 350b5943f6
commit abd9c62983
1 changed files with 6 additions and 3 deletions

View File

@ -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
{