Mercurial > hg > openttd
changeset 8833:7a347391f79c draft
(svn r12581) -Fix (r12580): trains would not stop correctly on intermediate stations when non-stop was not enabled.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sat, 05 Apr 2008 19:51:51 +0000 |
parents | 870ff040ec3e |
children | a2a57c9df9c9 |
files | src/order_cmd.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -1429,7 +1429,7 @@ 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()