mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 21:49:10 +00:00
(svn r1560) Introduce SetTileType() and SetTileHeight()
Replace direct references to _map_type_and_height with these
This commit is contained in:
@@ -448,8 +448,7 @@ do_clear:;
|
||||
|
||||
if (flags & DC_EXEC) {
|
||||
if (ti.type != MP_STREET) {
|
||||
_map_type_and_height[tile] &= 0xF;
|
||||
_map_type_and_height[tile] |= MP_STREET << 4;
|
||||
SetTileType(tile, MP_STREET);
|
||||
_map5[tile] = 0;
|
||||
_map_owner[tile] = _current_player;
|
||||
}
|
||||
|
Reference in New Issue
Block a user