From f758bd769b2a523ac5b959d7a53a25972e034cc4 Mon Sep 17 00:00:00 2001 From: celestar Date: Mon, 7 Feb 2005 12:47:29 +0000 Subject: (svn r1841) -Fix: [ 1117538 ] non-stop orders are no longer accidently skipped --- train_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'train_cmd.c') 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++; } -- cgit v1.2.3-54-g00ecf