From f46ae97d8e973d6432e981eef86de37d4eb93baf Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 7 Apr 2008 11:45:53 +0000 Subject: [PATCH] (svn r12601) -Fix (r12587): do not reset the index of orders (causes loading ancient savegames to loop infinitively. --- src/order_cmd.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index 37a0acd642..3f9dc7359d 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -146,7 +146,6 @@ Order::Order(uint32 packed) 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;