From 2918c34d423e74f68fc6c4bec222d6678806e632 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Tue, 21 Mar 2023 10:39:24 +1100 Subject: [PATCH] - Duke/RR: Fix two typos. --- 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 d23f1a91e..c3fbe4bba 100644 --- a/source/games/duke/src/player_r.cpp +++ b/source/games/duke/src/player_r.cpp @@ -1592,7 +1592,7 @@ static void doVehicleSounds(player_struct* p, DDukeActor* pact, unsigned flags, { if (p->OnBoat || p->on_ground) { - if (p->OnMotorcycle && p->MotoSpeed == 0 && (flags * VEH_BRAKING)) + if (p->OnMotorcycle && p->MotoSpeed == 0 && (flags & VEH_BRAKING)) { if (!S_CheckActorSoundPlaying(pact, sound1)) S_PlayActorSound(sound1, pact); @@ -1676,7 +1676,7 @@ static void doVehicleThrottling(player_struct* p, DDukeActor* pact, unsigned& fl } p->MotoSpeed += fwdSpeed * p->sync.fvel; - flags *= ~VEH_FORWARD; + flags &= ~VEH_FORWARD; if (p->MotoSpeed > 120) p->MotoSpeed = 120;