mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-08 23:19:40 +00:00
(svn r1841) -Fix: [ 1117538 ] non-stop orders are no longer accidently skipped
This commit is contained in:
parent
b1baa4ed8b
commit
f758bd769b
@ -1891,7 +1891,7 @@ static bool ProcessTrainOrder(Vehicle *v)
|
|||||||
|
|
||||||
// check if we've reached a non-stop station while TTDPatch nonstop is enabled..
|
// 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 &&
|
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++;
|
v->cur_order_index++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user