diff options
author | rubidium <rubidium@openttd.org> | 2008-04-07 11:45:53 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-07 11:45:53 +0000 |
commit | 4b7ca97056b6305e12fd72fc38b68055de27fbb3 (patch) | |
tree | 8ec65e65c5f638f2fd7a2792917597b09f76ba83 /src/order_cmd.cpp | |
parent | fcdd44b662dc011069b2ec19c3f46a5e9eaa7471 (diff) | |
download | openttd-4b7ca97056b6305e12fd72fc38b68055de27fbb3.tar.xz |
(svn r12601) -Fix (r12587): do not reset the index of orders (causes loading ancient savegames to loop infinitively.
Diffstat (limited to 'src/order_cmd.cpp')
-rw-r--r-- | src/order_cmd.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index 37a0acd64..3f9dc7359 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; |