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 | f46ae97d8e973d6432e981eef86de37d4eb93baf (patch) | |
tree | 8ec65e65c5f638f2fd7a2792917597b09f76ba83 /src | |
parent | c57a1d74c3e083a24505fad78ce216500adf82ee (diff) | |
download | openttd-f46ae97d8e973d6432e981eef86de37d4eb93baf.tar.xz |
(svn r12601) -Fix (r12587): do not reset the index of orders (causes loading ancient savegames to loop infinitively.
Diffstat (limited to 'src')
-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; |