mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-28 08:59:09 +00:00
Codechange: make use of Tile in for all direct map accesses
This commit is contained in:
@@ -152,7 +152,7 @@ extern const TrackdirBits _uphill_trackdirs[] = {
|
||||
/**
|
||||
* Return the rail type of tile, or INVALID_RAILTYPE if this is no rail tile.
|
||||
*/
|
||||
RailType GetTileRailType(TileIndex tile)
|
||||
RailType GetTileRailType(Tile tile)
|
||||
{
|
||||
switch (GetTileType(tile)) {
|
||||
case MP_RAILWAY:
|
||||
|
Reference in New Issue
Block a user