(svn r1841) -Fix: [ 1117538 ] non-stop orders are no longer accidently skipped

This commit is contained in:
celestar 2005-02-07 12:47:29 +00:00
parent b1baa4ed8b
commit f758bd769b

View File

@ -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++;
}