train_gui.c
changeset 1294 4cdf0e76c093
parent 1246 eb66ff34348f
child 1299 39c06aba09aa
equal deleted inserted replaced
1293:be96e2bf9b3c 1294:4cdf0e76c093
  1296 				SetDParam(1, p->name_2);
  1296 				SetDParam(1, p->name_2);
  1297 				SetDParam(2, w->vscroll.count);
  1297 				SetDParam(2, w->vscroll.count);
  1298 				w->widget[1].unkA = STR_881B_TRAINS;
  1298 				w->widget[1].unkA = STR_881B_TRAINS;
  1299 			} else {
  1299 			} else {
  1300 				/* Station Name -- (###) Trains */
  1300 				/* Station Name -- (###) Trains */
  1301 				SetDParam(0, GetStation(station)->index);
  1301 				SetDParam(0, station);
  1302 				SetDParam(1, w->vscroll.count);
  1302 				SetDParam(1, w->vscroll.count);
  1303 				w->widget[1].unkA = STR_SCHEDULED_TRAINS;
  1303 				w->widget[1].unkA = STR_SCHEDULED_TRAINS;
  1304 			}
  1304 			}
  1305 			DrawWindowWidgets(w);
  1305 			DrawWindowWidgets(w);
  1306 		}
  1306 		}