Failure on attach / detach / transfer actions for player train

Bug #1929875 reported by r.roeterdink
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
In Progress
Undecided
r.roeterdink

Bug Description

In certain situations, the player train fails to proper perform attach, transfer or detach actions.

Revision history for this message
r.roeterdink (r-roeterdink) wrote :

For references between trains, the train variable Number is used.
However, for the player train this number is set to 0 at the moment that train is formed into the player train. To be able to use the original references, the variable OrgAINumber is set for the player train to its original Number.
However, checking this alternative number in case the player train is involved is not always done consistently and this can cause errors.

Solution is to change all references to use the OrgAINumber variable. This variable is set for all trains equal to the original Number, including for the player train.
By using OrgAINumber consistently for all trains the use of references is simplified and errors specific for player train can no longer occur.

Changed in or:
status: New → In Progress
assignee: nobody → r.roeterdink (r-roeterdink)
Revision history for this message
r.roeterdink (r-roeterdink) wrote :

Cancelled

Changed in or:
status: In Progress → Invalid
Revision history for this message
r.roeterdink (r-roeterdink) wrote :

Reopened

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