(svn r12601) -Fix (r12587): do not reset the index of orders (causes loading ancient savegames to loop infinitively.

This commit is contained in:
rubidium 2008-04-07 11:45:53 +00:00
parent fcdd44b662
commit 4b7ca97056

View File

@ -146,7 +146,6 @@ Order::Order(uint32 packed)
this->flags = GB(packed, 8, 8); this->flags = GB(packed, 8, 8);
this->dest = GB(packed, 16, 16); this->dest = GB(packed, 16, 16);
this->next = NULL; this->next = NULL;
this->index = 0; // avoid compiler warning
this->refit_cargo = CT_NO_REFIT; this->refit_cargo = CT_NO_REFIT;
this->refit_subtype = 0; this->refit_subtype = 0;
this->wait_time = 0; this->wait_time = 0;