@@ -266,12 +266,13 @@ static inline void MakeClear(TileIndex t
_m[t].m2 = 0;
_m[t].m3 = 0;
_m[t].m4 = 0 << 5 | 0 << 2;
SetClearGroundDensity(t, g, density); // Sets m5
_me[t].m6 = 0;
_me[t].m7 = 0;
_me[t].m8 = 0;
}
/**
* Make a (farm) field tile.
* @param t the tile to make a farm field
@@ -286,12 +287,13 @@ static inline void MakeField(TileIndex t
_m[t].m2 = industry;
_m[t].m3 = field_type;
SetClearGroundDensity(t, CLEAR_FIELDS, 3);
SB(_me[t].m6, 2, 4, 0);
* Make a snow tile.
* @param t the tile to make snowy
* @param density The density of snowiness.
@@ -539,12 +539,13 @@ static inline void MakeStation(TileIndex
_m[t].m4 = 0;
_m[t].m5 = section;
SB(_me[t].m6, 2, 1, 0);
SB(_me[t].m6, 3, 3, st);
* Make the given tile a rail station tile.
* @param t the tile to make a rail station tile
* @param o the owner of the station
Status change: