mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 18:21:06 +00:00
- Internalise InputPacket
used in movement functions.
This commit is contained in:
parent
dbba0abb2e
commit
69c65dfe7e
8 changed files with 66 additions and 52 deletions
|
@ -137,7 +137,7 @@ void G_BuildTiccmd(ticcmd_t* cmd)
|
|||
}
|
||||
cmd->ucmd = {};
|
||||
I_GetEvent();
|
||||
gameInput.getInput(inputScale, gi->getConsoleAngles(), &cmd->ucmd);
|
||||
gameInput.getInput(inputScale, &cmd->ucmd);
|
||||
cmd->consistency = consistency[myconnectindex][(maketic / ticdup) % BACKUPTICS];
|
||||
}
|
||||
|
||||
|
@ -606,7 +606,7 @@ void TryRunTics (void)
|
|||
if (!SyncInput())
|
||||
{
|
||||
I_GetEvent();
|
||||
gameInput.getInput(inputScale, gi->getConsoleAngles());
|
||||
gameInput.getInput(inputScale);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue