station_cmd.c
changeset 4910 a511ea0089a5
parent 4904 e0bdbfa44251
child 4980 1e1cb22b3d27
equal deleted inserted replaced
4909:955f318a24cd 4910:a511ea0089a5
    91 }
    91 }
    92 
    92 
    93 static void MarkStationTilesDirty(const Station *st)
    93 static void MarkStationTilesDirty(const Station *st)
    94 {
    94 {
    95 	TileIndex tile = st->train_tile;
    95 	TileIndex tile = st->train_tile;
    96 	uint w, h;
    96 	int w, h;
    97 
    97 
    98 	// XXX No station is recorded as 0, not INVALID_TILE...
    98 	// XXX No station is recorded as 0, not INVALID_TILE...
    99 	if (tile == 0) return;
    99 	if (tile == 0) return;
   100 
   100 
   101 	for (h = 0; h < st->trainst_h; h++) {
   101 	for (h = 0; h < st->trainst_h; h++) {