mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- Duke/RR: Fix oversight in previous commit.
* Unknowingly had forced synchronised input on!
This commit is contained in:
parent
d380e73cfd
commit
76e6efd204
1 changed files with 2 additions and 2 deletions
|
@ -592,7 +592,7 @@ static float getVehicleTurnVel(player_struct* p, HIDInput* const hidInput, const
|
|||
if (fabs(p->TiltStatus) < factor)
|
||||
p->TiltStatus = 0;
|
||||
|
||||
return turnvel;
|
||||
return turnvel * factor;
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
@ -633,7 +633,7 @@ static void processVehicleInput(player_struct *p, HIDInput* const hidInput, Inpu
|
|||
}
|
||||
|
||||
inputBuffer->fvel = clamp<float>((float)p->MotoSpeed, -(MAXVELMOTO >> 3), MAXVELMOTO) * (1.f / 40.f);
|
||||
inputBuffer->avel += getVehicleTurnVel(p, hidInput, kbdRight - kbdLeft, (float)scaleAdjust, baseVel, velScale);
|
||||
inputBuffer->avel += (currInput->avel = getVehicleTurnVel(p, hidInput, kbdRight - kbdLeft, (float)scaleAdjust, baseVel, velScale));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue