(svn r1841) -Fix: [ 1117538 ] non-stop orders are no longer accidently skipped
authorcelestar
Mon, 07 Feb 2005 12:47:29 +0000
changeset 1337 2b3a3d5aec2a
parent 1336 69391734ce23
child 1338 82951b57204a
(svn r1841) -Fix: [ 1117538 ] non-stop orders are no longer accidently skipped
train_cmd.c
--- a/train_cmd.c	Mon Feb 07 12:32:35 2005 +0000
+++ b/train_cmd.c	Mon Feb 07 12:47:29 2005 +0000
@@ -1891,7 +1891,7 @@
 
 	// 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++;
 	}