mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r12601) -Fix (r12587): do not reset the index of orders (causes loading ancient savegames to loop infinitively.
This commit is contained in:
parent
fcdd44b662
commit
4b7ca97056
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user