- Fixed: player->oldbuttons was copied from the current button set at the end

of P_PlayerThink(), well before ACS could ever get at it with GetPlayerInput.


SVN r1444 (trunk)
This commit is contained in:
Randy Heit 2009-02-24 04:13:38 +00:00
commit a71e87b9df
3 changed files with 6 additions and 4 deletions

View file

@ -989,6 +989,7 @@ void G_Ticker ()
{
G_WriteDemoTiccmd (newcmd, i, buf);
}
players[i].oldbuttons = cmd->ucmd.buttons;
// If the user alt-tabbed away, paused gets set to -1. In this case,
// we do not want to read more demo commands until paused is no
// longer negative.