ship_gui.c
changeset 1294 4cdf0e76c093
parent 1246 eb66ff34348f
child 1299 39c06aba09aa
equal deleted inserted replaced
1293:be96e2bf9b3c 1294:4cdf0e76c093
   954 				SetDParam(1, p->name_2);
   954 				SetDParam(1, p->name_2);
   955 				SetDParam(2, w->vscroll.count);
   955 				SetDParam(2, w->vscroll.count);
   956 				w->widget[1].unkA = STR_9805_SHIPS;
   956 				w->widget[1].unkA = STR_9805_SHIPS;
   957 			} else {
   957 			} else {
   958 				/* Station Name -- (###) Trains */
   958 				/* Station Name -- (###) Trains */
   959 				SetDParam(0, GetStation(station)->index);
   959 				SetDParam(0, station);
   960 				SetDParam(1, w->vscroll.count);
   960 				SetDParam(1, w->vscroll.count);
   961 				w->widget[1].unkA = STR_SCHEDULED_SHIPS;
   961 				w->widget[1].unkA = STR_SCHEDULED_SHIPS;
   962 			}
   962 			}
   963 			DrawWindowWidgets(w);
   963 			DrawWindowWidgets(w);
   964 		}
   964 		}