mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-09 05:49:39 +01:00
Codechange: use TownID instead of uint
This commit is contained in:
parent
6e0378f7c1
commit
9189c3ab6f
@ -657,7 +657,7 @@ inline void MakeRoadNormal(Tile t, RoadBits bits, RoadType road_rt, RoadType tra
|
|||||||
* @param tram_rt The tram roadtype to set for the tile.
|
* @param tram_rt The tram roadtype to set for the tile.
|
||||||
* @param town Town ID if the road is a town-owned road.
|
* @param town Town ID if the road is a town-owned road.
|
||||||
*/
|
*/
|
||||||
inline void MakeRoadCrossing(Tile t, Owner road, Owner tram, Owner rail, Axis roaddir, RailType rat, RoadType road_rt, RoadType tram_rt, uint town)
|
inline void MakeRoadCrossing(Tile t, Owner road, Owner tram, Owner rail, Axis roaddir, RailType rat, RoadType road_rt, RoadType tram_rt, TownID town)
|
||||||
{
|
{
|
||||||
SetTileType(t, MP_ROAD);
|
SetTileType(t, MP_ROAD);
|
||||||
SetTileOwner(t, rail);
|
SetTileOwner(t, rail);
|
||||||
|
Loading…
Reference in New Issue
Block a user