diff options
author | frosch <frosch@openttd.org> | 2012-06-07 15:38:46 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-06-07 15:38:46 +0000 |
commit | 86b013f872b453052948a3a788c200fa827366d5 (patch) | |
tree | b87a6a3244ad6bafc196885fd648bc890c5616b5 /src | |
parent | 573a63bfc4561e61370438591eaf0d80eeb02705 (diff) | |
download | openttd-86b013f872b453052948a3a788c200fa827366d5.tar.xz |
(svn r24330) -Fix (r24321): Do not use the vehicle list order changes from the previous savegames, but only ever from the current one.
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf_engine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_engine.cpp b/src/newgrf_engine.cpp index fa0294504..97dd90ca9 100644 --- a/src/newgrf_engine.cpp +++ b/src/newgrf_engine.cpp @@ -1271,6 +1271,9 @@ void CommitVehicleListOrderChanges() for (const EngineID *it = ordering.Begin(); it != idend; ++it, ++index) { Engine::Get(*it)->list_position = index; } + + /* Clear out the queue */ + _list_order_changes.Reset(); } /** |