(svn r16965) -Codechange: use tile area instead of sets of variables for the station joiner code.

This commit is contained in:
rubidium
2009-07-26 21:07:03 +00:00
parent 43a9e72b8c
commit 3321f45246
9 changed files with 72 additions and 58 deletions

View File

@@ -212,7 +212,7 @@ static void PlaceRoadStop(TileIndex tile, uint32 p2, uint32 cmd)
p1 -= DIAGDIR_END; // Adjust picker result to actual direction
}
CommandContainer cmdcont = { tile, p1, p2, cmd, CcRoadDepot, "" };
ShowSelectStationIfNeeded(cmdcont, 1, 1);
ShowSelectStationIfNeeded(cmdcont, TileArea(tile, 1, 1));
}
static void PlaceRoad_BusStation(TileIndex tile)