diff options
author | celestar <celestar@openttd.org> | 2005-02-07 12:47:29 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-02-07 12:47:29 +0000 |
commit | f758bd769b2a523ac5b959d7a53a25972e034cc4 (patch) | |
tree | 373798378f445417ebe105837ea4ea915d874958 | |
parent | b1baa4ed8bdfa43d5476da039afd71a424e56c7f (diff) | |
download | openttd-f758bd769b2a523ac5b959d7a53a25972e034cc4.tar.xz |
(svn r1841) -Fix: [ 1117538 ] non-stop orders are no longer accidently skipped
-rw-r--r-- | train_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/train_cmd.c b/train_cmd.c index 3ab59828b..b78c9f1a1 100644 --- a/train_cmd.c +++ b/train_cmd.c @@ -1891,7 +1891,7 @@ static bool ProcessTrainOrder(Vehicle *v) // check if we've reached a non-stop station while TTDPatch nonstop is enabled.. if (_patches.new_nonstop && v->current_order.flags & OF_NON_STOP && - v->current_order.station == _map2[v->tile]) { + v->current_order.station == _map2[v->tile] && IsTileType(v->tile, MP_STATION) ) { v->cur_order_index++; } |