From c455f860bcdb318d160016791870bfdf83f56606 Mon Sep 17 00:00:00 2001 From: tritonas00 Date: Fri, 19 Feb 2021 07:46:39 +0200 Subject: [PATCH] take account of NETMASK_REVERSE also when playing the sound --- source/main/physics/Actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main/physics/Actor.cpp b/source/main/physics/Actor.cpp index b62172ac1a..8b54355ac1 100644 --- a/source/main/physics/Actor.cpp +++ b/source/main/physics/Actor.cpp @@ -618,7 +618,7 @@ void Actor::CalcNetwork() else SOUND_STOP(ar_instance_id, SS_TRIG_HORN); - if (m_net_reverse_light) + if ((m_net_reverse_light & NETMASK_REVERSE)) SOUND_START(ar_instance_id, SS_TRIG_REVERSE_GEAR); else SOUND_STOP(ar_instance_id, SS_TRIG_REVERSE_GEAR);