- clamp angle velocity as originally intended.

This commit is contained in:
Mitchell Richters 2020-08-05 17:59:46 +10:00
parent 736811e864
commit 0142449d95

View file

@ -1186,7 +1186,7 @@ static void FinalizeInput(int playerNum, input_t& input, bool vehicle)
if (p->on_crane < 0 && p->newowner == -1) if (p->on_crane < 0 && p->newowner == -1)
{ {
loc.q16avel += input.q16avel; loc.q16avel = fix16_clamp(loc.q16avel + input.q16avel, F16(-MAXANGVEL), F16(MAXANGVEL));
if (!cl_syncinput && input.q16avel) if (!cl_syncinput && input.q16avel)
{ {
p->one_eighty_count = 0; p->one_eighty_count = 0;