Skip to content

Commit

Permalink
take account of NETMASK_REVERSE also when playing the sound
Browse files Browse the repository at this point in the history
  • Loading branch information
tritonas00 committed Feb 19, 2021
1 parent d05bb7e commit c455f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/main/physics/Actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c455f86

Please # to comment.