mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- Duke: Fix bad vehicle speed clamp change from e79c6bacd3
.
- Fixes #325. - 🤦
This commit is contained in:
parent
3961fcc28a
commit
4eaf05d95e
1 changed files with 1 additions and 1 deletions
|
@ -755,7 +755,7 @@ static void processVehicleInput(player_struct *p, ControlInfo* const hidInput, I
|
||||||
input.avel = boatApplyTurn(p, hidInput, kbdLeft, kbdRight, scaleAdjust);
|
input.avel = boatApplyTurn(p, hidInput, kbdLeft, kbdRight, scaleAdjust);
|
||||||
}
|
}
|
||||||
|
|
||||||
input.fvel = clamp(xs_CRoundToInt(p->MotoSpeed), -(MAXVELMOTO >> 3), MAXVELMOTO);
|
loc.fvel = clamp(xs_CRoundToInt(p->MotoSpeed), -(MAXVELMOTO >> 3), MAXVELMOTO);
|
||||||
input.avel *= BAngToDegree;
|
input.avel *= BAngToDegree;
|
||||||
loc.avel += input.avel;
|
loc.avel += input.avel;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue