mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r27037) -Fix [FS#6150] (r26878): m6 was moved from Tile To TileExtended, but it wasn't properly removed from Tile (patch by Juanjo)
This commit is contained in:
parent
1d27ae9bda
commit
8739a7b7d0
|
@ -267,7 +267,7 @@ static inline void MakeClear(TileIndex t, ClearGround g, uint density)
|
|||
_m[t].m3 = 0;
|
||||
_m[t].m4 = 0 << 5 | 0 << 2;
|
||||
SetClearGroundDensity(t, g, density); // Sets m5
|
||||
_m[t].m6 = 0;
|
||||
_me[t].m6 = 0;
|
||||
_me[t].m7 = 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ struct Tile {
|
|||
byte m3; ///< General purpose
|
||||
byte m4; ///< General purpose
|
||||
byte m5; ///< General purpose
|
||||
byte m6; ///< General purpose
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -130,7 +130,7 @@ public:
|
|||
DEBUG(misc, LANDINFOD_LEVEL, "m3 = %#x", _m[tile].m3);
|
||||
DEBUG(misc, LANDINFOD_LEVEL, "m4 = %#x", _m[tile].m4);
|
||||
DEBUG(misc, LANDINFOD_LEVEL, "m5 = %#x", _m[tile].m5);
|
||||
DEBUG(misc, LANDINFOD_LEVEL, "m6 = %#x", _m[tile].m6);
|
||||
DEBUG(misc, LANDINFOD_LEVEL, "m6 = %#x", _me[tile].m6);
|
||||
DEBUG(misc, LANDINFOD_LEVEL, "m7 = %#x", _me[tile].m7);
|
||||
#undef LANDINFOD_LEVEL
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue