station_gui.c
changeset 4896 f86350aaaaa5
parent 4727 6819acce7c57
child 4912 0f51b47cb983
--- a/station_gui.c	Fri Oct 20 10:48:46 2006 +0000
+++ b/station_gui.c	Fri Oct 20 11:53:29 2006 +0000
@@ -612,7 +612,7 @@
 		if ( st->goods[i].enroute_from == station_id) {
 			if (--pos < 0) {
 				SetDParam(1, waiting);
-				SetDParam(0, _cargoc.names_long[i]);
+				SetDParam(0, i);
 				DrawStringRightAligned(x + 234, y, STR_0009, 0);
 				y += 10;
 			}
@@ -620,7 +620,7 @@
 			/* enroute */
 			if (--pos < 0) {
 				SetDParam(1, waiting);
-				SetDParam(0, _cargoc.names_long[i]);
+				SetDParam(0, i);
 				DrawStringRightAligned(x + 234, y, STR_000A_EN_ROUTE_FROM, 0);
 				y += 10;
 			}