changeset 19427:ab8ef4b866c3 draft

(svn r24330) -Fix (r24321): Do not use the vehicle list order changes from the previous savegames, but only ever from the current one.
author frosch <frosch@openttd.org>
date Thu, 07 Jun 2012 15:38:46 +0000
parents a7b476d5a705
children 43601870a226
files src/newgrf_engine.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/newgrf_engine.cpp
+++ b/src/newgrf_engine.cpp
@@ -1271,6 +1271,9 @@
 	for (const EngineID *it = ordering.Begin(); it != idend; ++it, ++index) {
 		Engine::Get(*it)->list_position = index;
 	}
+
+	/* Clear out the queue */
+	_list_order_changes.Reset();
 }
 
 /**