From ea2e4051f167b6320668150bcce50aa7124cfa9b Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Mon, 23 Nov 2020 10:44:38 +1100 Subject: [PATCH] - Duke (RR): Fix incorrect inline call for `angAdjustment` following changes in ea4ad0548a63366cbbe4b6f5d90757fe6588b08d. --- source/games/duke/src/player_r.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/games/duke/src/player_r.cpp b/source/games/duke/src/player_r.cpp index 9849850fb..74b69ccf7 100644 --- a/source/games/duke/src/player_r.cpp +++ b/source/games/duke/src/player_r.cpp @@ -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) {