ship_gui.c
changeset 1294 bc831562148e
parent 1246 45f15251412b
child 1299 0a6510cc889b
--- a/ship_gui.c	Fri Feb 04 20:17:15 2005 +0000
+++ b/ship_gui.c	Fri Feb 04 20:40:04 2005 +0000
@@ -956,7 +956,7 @@
 				w->widget[1].unkA = STR_9805_SHIPS;
 			} else {
 				/* Station Name -- (###) Trains */
-				SetDParam(0, GetStation(station)->index);
+				SetDParam(0, station);
 				SetDParam(1, w->vscroll.count);
 				w->widget[1].unkA = STR_SCHEDULED_SHIPS;
 			}