train_gui.c
changeset 878 8beeebc0f1bd
parent 877 ce8cb2c09578
child 886 3f8be7ff7b9c
equal deleted inserted replaced
877:ce8cb2c09578 878:8beeebc0f1bd
   332 	SetVScrollCount(w, num);
   332 	SetVScrollCount(w, num);
   333 	SetHScrollCount(w, hnum);
   333 	SetHScrollCount(w, hnum);
   334 
   334 
   335 	/* locate the depot struct */
   335 	/* locate the depot struct */
   336 	for (d = _depots; d->xy != (TileIndex)tile; d++) {
   336 	for (d = _depots; d->xy != (TileIndex)tile; d++) {
   337 		assert(d < endof(_depots);
   337 		assert(d < endof(_depots));
   338 	}
   338 	}
   339 
   339 
   340 	SetDParam(0, d->town_index);
   340 	SetDParam(0, d->town_index);
   341 	DrawWindowWidgets(w);
   341 	DrawWindowWidgets(w);
   342 
   342