Multiplayer: after coupling other player train, a debug assert exception may arise

Bug #1800390 reported by Carlo Santucci
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Medium
Carlo Santucci

Bug Description

In the OR code (Lights.cs file) there is a debug assert line that states that PlayerLocomotive and LeadLocomotive must coincide. This is in general true. However after coupling between two player trains in multiplayer, one of the players loses control of the train, so that PlayerLocomotive for that player and LoadLocomotive don't coincide. In this case the train is of type REMOTE. Therefore for this case the debug assert exception must not be generated, else an unneeded crash is generated.

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

Fixed in x.4281.

description: updated
Changed in or:
assignee: nobody → Carlo Santucci (carlosanit1)
status: New → In Progress
status: In Progress → Fix Committed
Revision history for this message
Carlo Santucci (carlosanit1) wrote :

Sorry, fixed in x.4280.

James Ross (twpol)
Changed in or:
milestone: none → 1.3
importance: Undecided → Medium
Revision history for this message
Carlo Santucci (carlosanit1) wrote :

Further bug fix in x.4292 in case the remote train couples to the server player train. In this case the server player train temporarily becomes STATIC, and this case must be handled too.

Changed in or:
status: Fix Committed → In Progress
status: In Progress → Fix Committed
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.