forked from mirror/OpenTTD
(svn r17492) -Codechange: don't store the town index for road depots.
This commit is contained in:
@@ -407,11 +407,11 @@ static inline void MakeRoadCrossing(TileIndex t, Owner road, Owner tram, Owner r
|
||||
}
|
||||
|
||||
|
||||
static inline void MakeRoadDepot(TileIndex t, Owner owner, DiagDirection dir, RoadType rt, TownID town)
|
||||
static inline void MakeRoadDepot(TileIndex t, Owner owner, DiagDirection dir, RoadType rt)
|
||||
{
|
||||
SetTileType(t, MP_ROAD);
|
||||
SetTileOwner(t, owner);
|
||||
_m[t].m2 = town;
|
||||
_m[t].m2 = 0;
|
||||
_m[t].m3 = 0;
|
||||
_m[t].m4 = 0;
|
||||
_m[t].m5 = ROAD_TILE_DEPOT << 6 | dir;
|
||||
|
Reference in New Issue
Block a user