- 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

View file

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