summaryrefslogtreecommitdiff
path: root/src/order_gui.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-06-24 22:42:11 +0000
committerpeter1138 <peter1138@openttd.org>2007-06-24 22:42:11 +0000
commit3878c55f345e51999fd5311b7683d897f7a91aa2 (patch)
treed9368d95af8a7f09cc32a4f7eb328fb63e863059 /src/order_gui.cpp
parente0a9a7d3888668c81e56e626e262d435c38c31b2 (diff)
downloadopenttd-3878c55f345e51999fd5311b7683d897f7a91aa2.tar.xz
(svn r10314) -Codechange: Refer to vehicle names by index
Diffstat (limited to 'src/order_gui.cpp')
-rw-r--r--src/order_gui.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/order_gui.cpp b/src/order_gui.cpp
index d769162f9..ac08f9538 100644
--- a/src/order_gui.cpp
+++ b/src/order_gui.cpp
@@ -176,8 +176,7 @@ static void DrawOrdersWindow(Window *w)
}
}
- SetDParam(0, v->string_id);
- SetDParam(1, v->unitnumber);
+ SetDParam(0, v->index);
DrawWindowWidgets(w);
y = 15;