mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-14 11:50:49 +00:00
- fixed: G_BuildTiccmd needs to clear the command struct.
This could otherwise pick up some stray data from earlier calls and create bogus input. Fixes #97
This commit is contained in:
parent
d604ca732f
commit
60979ee478
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ void DoLoadGame(const char* name);
|
|||
|
||||
void G_BuildTiccmd(ticcmd_t* cmd)
|
||||
{
|
||||
cmd->ucmd = {};
|
||||
I_GetEvent();
|
||||
auto input = CONTROL_GetInput();
|
||||
gi->GetInput(&cmd->ucmd, &input);
|
||||
|
|
Loading…
Reference in a new issue