mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
This is more efficient
This commit brought to you by 4/20. git-svn-id: https://svn.eduke32.com/eduke32@7628 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
78d08b3ac2
commit
74c44125f8
1 changed files with 2 additions and 2 deletions
|
@ -1678,8 +1678,8 @@ void G_ResetTimers(bool saveMoveCnt)
|
||||||
|
|
||||||
void G_ClearFIFO(void)
|
void G_ClearFIFO(void)
|
||||||
{
|
{
|
||||||
clearbufbyte(&localInput, sizeof(input_t), 0L);
|
localInput = {};
|
||||||
clearbufbyte(&inputfifo, sizeof(input_t) * MOVEFIFOSIZ * MAXPLAYERS, 0L);
|
Bmemset(&inputfifo, 0, sizeof(input_t) * MOVEFIFOSIZ * MAXPLAYERS);
|
||||||
|
|
||||||
for (int p = 0; p < MAXPLAYERS; ++p)
|
for (int p = 0; p < MAXPLAYERS; ++p)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue