mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 21:31:03 +00:00
- clamp angle velocity as originally intended.
This commit is contained in:
parent
736811e864
commit
0142449d95
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue