mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-12 10:30:28 +00:00
(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:
parent
573a63bfc4
commit
86b013f872
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user