mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 13:21:04 +00:00
Exhumed: Set scaleAdjustmentToInterval to correct value for game's ticrate.
This commit is contained in:
parent
98f4bac708
commit
bece408548
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ void PlayerInterruptKeys()
|
|||
|
||||
lastInputTicks = currentHiTicks;
|
||||
|
||||
auto scaleAdjustmentToInterval = [=](double x) { return x * 120 / (1000.0 / elapsedInputTicks); };
|
||||
auto scaleAdjustmentToInterval = [=](double x) { return x * (120 / 4) / (1000.0 / elapsedInputTicks); };
|
||||
|
||||
if (buttonMap.ButtonDown(gamefunc_Strafe))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue