- `processMovement()`: Slightly adjust some ratios to provide proper average values.

This commit is contained in:
Mitchell Richters 2020-09-25 23:07:38 +10:00
parent 9b12675f4e
commit e9326fffe3
1 changed files with 2 additions and 2 deletions

View File

@ -1538,8 +1538,8 @@ void processMovement(InputPacket* currInput, InputPacket* inputBuffer, ControlIn
static double turnheldtime; static double turnheldtime;
int const turnheldamt = 120 / GameTicRate; int const turnheldamt = 120 / GameTicRate;
double const turboturntime = 590. / GameTicRate; double const turboturntime = 590. / GameTicRate;
double turnamount = ((running ? 1735. : 867.5) / GameTicRate) * turnscale; double turnamount = ((running ? 43375. / 27. : 867.5) / GameTicRate) * turnscale;
double preambleturn = turnamount / 3.; double preambleturn = turnamount / (347. / 92.);
// allow Exhumed to use its legacy values given the drastic difference from the other games. // allow Exhumed to use its legacy values given the drastic difference from the other games.
if ((g_gameType & GAMEFLAG_PSEXHUMED) && cl_exhumedoldturn) if ((g_gameType & GAMEFLAG_PSEXHUMED) && cl_exhumedoldturn)