changeset 8849:f31f78d16aec draft

(svn r12601) -Fix (r12587): do not reset the index of orders (causes loading ancient savegames to loop infinitively.
author rubidium <rubidium@openttd.org>
date Mon, 07 Apr 2008 11:45:53 +0000
parents 066a8010467f
children 4859a9c43de3
files src/order_cmd.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/order_cmd.cpp
+++ b/src/order_cmd.cpp
@@ -146,7 +146,6 @@
 	this->flags   = GB(packed,  8,  8);
 	this->dest    = GB(packed, 16, 16);
 	this->next    = NULL;
-	this->index   = 0; // avoid compiler warning
 	this->refit_cargo   = CT_NO_REFIT;
 	this->refit_subtype = 0;
 	this->wait_time     = 0;