From 86b013f872b453052948a3a788c200fa827366d5 Mon Sep 17 00:00:00 2001 From: frosch Date: Thu, 7 Jun 2012 15:38:46 +0000 Subject: [PATCH] (svn r24330) -Fix (r24321): Do not use the vehicle list order changes from the previous savegames, but only ever from the current one. --- src/newgrf_engine.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/newgrf_engine.cpp b/src/newgrf_engine.cpp index fa0294504f..97dd90ca9c 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(); } /**