diff options
author | rubidium <rubidium@openttd.org> | 2008-04-05 19:51:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-05 19:51:51 +0000 |
commit | 84211a8feaf79cf56edde66cecb69aaafcc0d2a8 (patch) | |
tree | 689b9f2f13fa95c720302cff539332350fe75fb4 | |
parent | aef20ec54d501e176d2607096da2df2263bc0822 (diff) | |
download | openttd-84211a8feaf79cf56edde66cecb69aaafcc0d2a8.tar.xz |
(svn r12581) -Fix (r12580): trains would not stop correctly on intermediate stations when non-stop was not enabled.
-rw-r--r-- | src/order_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index 775e08f0f..723d56fec 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -1429,7 +1429,7 @@ bool Order::ShouldStopAtStation(const Vehicle *v, StationID station) const type == OT_GOTO_STATION && // Do stop only when going to a station /* Finally do stop when the non-stop flag is not set, or when we should stop at * this station according to the new_nonstop setting. */ - (!this->flags & OFB_NON_STOP || ((this->dest != station) == _patches.new_nonstop)); + (!(this->flags & OFB_NON_STOP) || ((this->dest != station) == _patches.new_nonstop)); } void InitializeOrders() |