Fix rail platforms being left partially reserved after deleting train
Due to company being removed when infrastructure sharing in use
This commit is contained in:
@@ -6831,6 +6831,7 @@ void DeleteVisibleTrain(Train *v)
|
||||
/* delete train from back to front */
|
||||
Train *u;
|
||||
Train *prev = v->Last();
|
||||
FreeTrainStationPlatformReservation(v);
|
||||
do {
|
||||
u = prev;
|
||||
prev = u->Previous();
|
||||
|
Reference in New Issue
Block a user