summaryrefslogtreecommitdiff
path: root/order_gui.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-08-22 17:13:49 +0000
committertruelight <truelight@openttd.org>2006-08-22 17:13:49 +0000
commit1331b4aa9a525bb87c76c38bbc42d33d099bd026 (patch)
tree6fd89f2a96b8f71b4b34dda81300e4dd18bd4e6e /order_gui.c
parent88d196dff1a8e6f315d865765a05c25da72e11fd (diff)
downloadopenttd-1331b4aa9a525bb87c76c38bbc42d33d099bd026.tar.xz
(svn r6052) -Codechange: change OrderType (order->type) in a typedef
-Codechange: renamed DeleteDestinationFromVehicleOrder to RemoveOrderFromAllVehicles to reflect his function better -Codechange: changed the params of RemoveOrderFromAllVehicles, to avoid unneeded variable-creation
Diffstat (limited to 'order_gui.c')
-rw-r--r--order_gui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/order_gui.c b/order_gui.c
index 2ef68ee8f..1cbdb56f9 100644
--- a/order_gui.c
+++ b/order_gui.c
@@ -164,6 +164,8 @@ static void DrawOrdersWindow(Window *w)
SetDParam(1, (order->flags & OF_NON_STOP) ? STR_GO_NON_STOP_TO_WAYPOINT : STR_GO_TO_WAYPOINT);
SetDParam(2, order->station);
break;
+
+ default: break;
}
color = (i == WP(w,order_d).sel) ? 0xC : 0x10;