forked from mirror/OpenTTD
(svn r24330) -Fix (r24321): Do not use the vehicle list order changes from the previous savegames, but only ever from the current one.
This commit is contained in:
@@ -1271,6 +1271,9 @@ void CommitVehicleListOrderChanges()
|
|||||||
for (const EngineID *it = ordering.Begin(); it != idend; ++it, ++index) {
|
for (const EngineID *it = ordering.Begin(); it != idend; ++it, ++index) {
|
||||||
Engine::Get(*it)->list_position = index;
|
Engine::Get(*it)->list_position = index;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Clear out the queue */
|
||||||
|
_list_order_changes.Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user