mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 02:01:31 +00:00
- wrap all checks of cl_syncinput in an inline function.
This commit is contained in:
parent
f429871cc6
commit
ae36ea88c3
20 changed files with 57 additions and 52 deletions
|
@ -460,7 +460,7 @@ void ApplyGlobalInput(InputPacket& input, ControlInfo* hidInput, bool const crou
|
|||
|
||||
double InputScale()
|
||||
{
|
||||
if (!cl_syncinput)
|
||||
if (!SyncInput())
|
||||
{
|
||||
double now = I_msTimeF();
|
||||
double elapsedInputTicks = lastCheck > 0 ? min(now - lastCheck, 1000.0 / GameTicRate) : 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue