Exhumed: Set scaleAdjustmentToInterval to correct value for game's ticrate.

This commit is contained in:
Mitchell Richters 2020-05-13 15:44:45 +10:00 committed by Christoph Oelckers
parent 98f4bac708
commit bece408548
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{