forked from mirror/OpenTTD
(svn r1560) Introduce SetTileType() and SetTileHeight()
Replace direct references to _map_type_and_height with these
This commit is contained in:
@@ -369,8 +369,7 @@ need_clear:;
|
||||
}
|
||||
|
||||
if (flags & DC_EXEC) {
|
||||
_map_type_and_height[tile] &= 0xF;
|
||||
_map_type_and_height[tile] |= MP_RAILWAY << 4;
|
||||
SetTileType(tile, MP_RAILWAY);
|
||||
_map5[tile] |= rail_bit;
|
||||
_map2[tile] &= ~RAIL_MAP2LO_GROUND_MASK;
|
||||
|
||||
|
Reference in New Issue
Block a user