forked from mirror/OpenTTD
(svn r12640) -Codechange: let GetLoadType make a difference between full load and full load any based on the patch setting instead of using the patch setting directly.
This commit is contained in:
@@ -194,7 +194,7 @@ static void DrawOrdersWindow(Window *w)
|
||||
break;
|
||||
|
||||
case OT_GOTO_STATION:
|
||||
SetDParam(1, _station_order_strings[!(order->GetNonStopType() == (_patches.new_nonstop ? ONSF_NO_STOP_AT_INTERMEDIATE_STATIONS : ONSF_STOP_EVERYWHERE))][order->GetLoadType() | order->GetUnloadType()]);
|
||||
SetDParam(1, _station_order_strings[!(order->GetNonStopType() == (_patches.new_nonstop ? ONSF_NO_STOP_AT_INTERMEDIATE_STATIONS : ONSF_STOP_EVERYWHERE))][(order->GetLoadType() & OLFB_FULL_LOAD) | order->GetUnloadType()]);
|
||||
SetDParam(2, order->GetDestination());
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user