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

Function GetLiftDestination

src/town_map.h:126–129  ·  view source on GitHub ↗

* Get the current destination for this lift * @param t the tile * @return destination */

Source from the content-addressed store, hash-verified

124 * @return destination
125 */
126inline uint8_t GetLiftDestination(Tile t)
127{
128 return GB(t.m7(), 1, 3);
129}
130
131/**
132 * Stop the lift of this animated house from moving.

Callers 1

AnimateTile_TownFunction · 0.85

Calls 1

GBFunction · 0.85

Tested by

no test coverage detected