(svn r12601) -Fix (r12587): do not reset the index of orders (causes loading ancient savegames to loop infinitively.
authorrubidium
Mon, 07 Apr 2008 11:45:53 +0000
changeset 8849 26717ff2482e
parent 8848 635cb164edd4
child 8850 415cd31f7e42
(svn r12601) -Fix (r12587): do not reset the index of orders (causes loading ancient savegames to loop infinitively.
src/order_cmd.cpp
--- a/src/order_cmd.cpp	Mon Apr 07 08:59:04 2008 +0000
+++ b/src/order_cmd.cpp	Mon Apr 07 11:45:53 2008 +0000
@@ -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;