diff options
author | rubidium <rubidium@openttd.org> | 2008-04-06 15:09:45 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-06 15:09:45 +0000 |
commit | fb1c4eccd840cd05ee3bf00c3b757829c9c72ef0 (patch) | |
tree | 902d510152ab0f94357b64fda309b662a1637e12 /src/openttd.cpp | |
parent | 5d8e3adcccda4b89b03c925c5d061621df2e5e10 (diff) | |
download | openttd-fb1c4eccd840cd05ee3bf00c3b757829c9c72ef0.tar.xz |
(svn r12593) -Codechange: hide Order's flags in most of the code.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index 923a67af5..967f4e210 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -2306,7 +2306,8 @@ bool AfterLoadGame() Order *order; FOR_ALL_ORDERS(order) { if (order->IsType(OT_GOTO_STATION) && GetStation(order->GetDestination())->IsBuoy()) { - order->flags = 0; + order->SetLoadType(0); + order->SetUnloadType(0); } } |