Track Sound loses sync with Train Cars

Bug #1475352 reported by Dennis A T
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Low
Carlo Santucci

Bug Description

Under some conditions, Track Sounds erratically lose sync with Train Cars. See "Elvas Tower / Open Rails / Maybe it's a bug / sound inside view". The problem was found to be in the code calculating when a Car has reached a Track Sound Zone.

A suggested patch is attached. This is effectively a one line patch to the logic but some other lines have been re-written to improve readability and aid debugging.

Revision history for this message
Dennis A T (dennisat) wrote :
Revision history for this message
Dennis A T (dennisat) wrote :

Many apologies, I've uploaded a bad version of the patch. Attached is the correct one.

Revision history for this message
Carlo Santucci (carlosanit1) wrote :

Fixed in x.3199 with the above patch. Thanks Dennis.

Changed in or:
status: New → Fix Committed
assignee: nobody → Carlo Santucci (carlosanit1)
James Ross (twpol)
Changed in or:
milestone: none → 1.1
importance: Undecided → Low
James Ross (twpol)
Changed in or:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.