mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- Duke (RR): Fix incorrect inline call for angAdjustment
following changes in ea4ad0548a
.
This commit is contained in:
parent
b65326dc22
commit
ea2e4051f1
1 changed files with 2 additions and 2 deletions
|
@ -1753,7 +1753,7 @@ static void onMotorcycle(int snum, ESyncBits &actions)
|
|||
if (p->MotoSpeed >= 20 && p->on_ground == 1 && (p->vehTurnLeft || p->vehTurnRight))
|
||||
{
|
||||
velAdjustment = p->vehTurnLeft ? -10 : 10;
|
||||
auto angAdjustment = buildang(velAdjustment < 0 ? 350 : -350);
|
||||
auto angAdjustment = buildlook(velAdjustment < 0 ? 350 : -350);
|
||||
|
||||
if (p->moto_on_mud || p->moto_on_oil || !p->NotOnWater)
|
||||
{
|
||||
|
@ -2031,7 +2031,7 @@ static void onBoat(int snum, ESyncBits &actions)
|
|||
{
|
||||
int currSpeed = p->MotoSpeed * 4.;
|
||||
short velAdjustment = p->vehTurnLeft ? -10 : 10;
|
||||
auto angAdjustment = buildang(velAdjustment < 0 ? 350 : -350);
|
||||
auto angAdjustment = buildlook(velAdjustment < 0 ? 350 : -350);
|
||||
|
||||
if (p->moto_do_bump)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue