mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-19 15:25:39 +00:00
(svn r1841) -Fix: [ 1117538 ] non-stop orders are no longer accidently skipped
This commit is contained in:
parent
701a32d048
commit
0e6109d360
@ -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++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user