mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 13:39:09 +00:00
(svn r1718) Use the enum TileType as parameter/return type for [GS]etTileType() instead of plain int.
This makes it necessary to rename TileType() to GetTileType() because a type and a function may not share the same name.
This commit is contained in:
@@ -26,7 +26,7 @@ static bool HasTileRoadAt(uint tile, int i)
|
||||
int mask;
|
||||
byte b;
|
||||
|
||||
switch (TileType(tile)) {
|
||||
switch (GetTileType(tile)) {
|
||||
case MP_STREET:
|
||||
b = _map5[tile];
|
||||
|
||||
|
Reference in New Issue
Block a user