(svn r12628) -Fix: TTDP compatible non-stop wasn't handled properly.

This commit is contained in:
rubidium
2008-04-08 13:32:44 +00:00
parent d577b0504a
commit 4267797cc8
2 changed files with 7 additions and 7 deletions

View File

@@ -201,7 +201,7 @@ static void DrawOrdersWindow(Window *w)
break;
case OT_GOTO_STATION:
SetDParam(1, _station_order_strings[!!order->GetNonStopType()][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() | order->GetUnloadType()]);
SetDParam(2, order->GetDestination());
break;