From 0e6109d360ba0ed7f59f93d1e01426e57df3ed1e Mon Sep 17 00:00:00 2001 From: celestar Date: Mon, 7 Feb 2005 12:47:29 +0000 Subject: [PATCH] (svn r1841) -Fix: [ 1117538 ] non-stop orders are no longer accidently skipped --- train_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train_cmd.c b/train_cmd.c index 3ab59828bd..b78c9f1a1c 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++; }