Merge branch 'master' into jgrpp
# Conflicts: # src/landscape.cpp # src/landscape.h # src/misc_gui.cpp # src/newgrf_commons.cpp # src/order_cmd.cpp # src/pathfinder/yapf/yapf_base.hpp # src/station_cmd.cpp # src/tunnelbridge_cmd.cpp # src/vehicle.cpp # src/water_cmd.cpp # src/window.cpp
This commit is contained in:
@@ -610,7 +610,7 @@ const Order *OrderList::GetNextDecisionNode(const Order *next, uint hops, CargoT
|
||||
}
|
||||
|
||||
if (next->IsType(OT_GOTO_DEPOT)) {
|
||||
if (next->GetDepotActionType() & ODATFB_HALT) return nullptr;
|
||||
if ((next->GetDepotActionType() & ODATFB_HALT) != 0) return nullptr;
|
||||
if (next->IsRefit()) return next;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user