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

Function LiftHasDestination

src/town_map.h:104–107  ·  view source on GitHub ↗

* Check if the lift of this animated house has a destination * @param t the tile * @return has destination */

Source from the content-addressed store, hash-verified

102 * @return has destination
103 */
104inline bool LiftHasDestination(Tile t)
105{
106 return HasBit(t.m7(), 0);
107}
108
109/**
110 * Set the new destination of the lift for this animated house, and activate

Callers 2

AnimateTile_TownFunction · 0.85
TileLoop_TownFunction · 0.85

Calls 1

HasBitFunction · 0.85

Tested by

no test coverage detected