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

Function DecHouseProcessingTime

src/town_map.h:358–362  ·  view source on GitHub ↗

* Decrease the amount of time remaining before the tile loop processes this tile. * @param t the house tile * @pre IsTileType(t, MP_HOUSE) */

Source from the content-addressed store, hash-verified

356 * @pre IsTileType(t, MP_HOUSE)
357 */
358inline void DecHouseProcessingTime(Tile t)
359{
360 assert(IsTileType(t, MP_HOUSE));
361 t.m6() -= 1 << 2;
362}
363
364/**
365 * Make the tile a house.

Callers 1

NewHouseTileLoopFunction · 0.85

Calls 1

IsTileTypeFunction · 0.85

Tested by

no test coverage detected