mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-31 22:00:46 +00:00
- force scaleAdjust
to be 1 when cl_syncinput
is 1.
* Above calculation has some micro variances to it which were leading to strange behaviour like the bike's tilting not working properly with `cl_syncinput 1`.
This commit is contained in:
parent
293c1af4c2
commit
bc103595ce
1 changed files with 1 additions and 1 deletions
|
@ -1230,7 +1230,7 @@ void GetInput()
|
||||||
setlocalplayerinput(p);
|
setlocalplayerinput(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
double scaleAdjust = elapsedInputTicks * REALGAMETICSPERSEC / 1000.0;
|
double scaleAdjust = !cl_syncinput ? elapsedInputTicks * REALGAMETICSPERSEC / 1000.0 : 1;
|
||||||
ControlInfo info;
|
ControlInfo info;
|
||||||
CONTROL_GetInput(&info);
|
CONTROL_GetInput(&info);
|
||||||
input_t input{};
|
input_t input{};
|
||||||
|
|
Loading…
Reference in a new issue