MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ClrTile

Method ClrTile

src/bitmap_type.h:89–93  ·  view source on GitHub ↗

* Clear a tile from the tile area. * @param tile Tile to clear */

Source from the content-addressed store, hash-verified

87 * @param tile Tile to clear
88 */
89 inline void ClrTile(TileIndex tile)
90 {
91 assert(this->Contains(tile));
92 this->data[Index(tile)] = false;
93 }
94
95 /**
96 * Test if a tile is part of the tile area.

Callers

nothing calls this directly

Calls 1

ContainsMethod · 0.45

Tested by

no test coverage detected