(svn r6775) -Codechange: Use some more proper types, especially Owner and PlayerID as
these are used intermixed often.
This commit is contained in:
@@ -178,7 +178,7 @@ RoadBits GetAnyRoadBits(TileIndex);
|
||||
TrackBits GetAnyRoadTrackBits(TileIndex tile);
|
||||
|
||||
|
||||
static inline void MakeRoadNormal(TileIndex t, Owner owner, RoadBits bits, uint town)
|
||||
static inline void MakeRoadNormal(TileIndex t, Owner owner, RoadBits bits, TownID town)
|
||||
{
|
||||
SetTileType(t, MP_STREET);
|
||||
SetTileOwner(t, owner);
|
||||
|
||||
Reference in New Issue
Block a user