* Set the random bits for this house. * This is required for newgrf house * @param t the tile of this house * @param random the new random bits * @pre IsTileType(t, MP_HOUSE) */
| 282 | * @pre IsTileType(t, MP_HOUSE) |
| 283 | */ |
| 284 | inline void SetHouseRandomBits(Tile t, uint8_t random) |
| 285 | { |
| 286 | assert(IsTileType(t, MP_HOUSE)); |
| 287 | t.m1() = random; |
| 288 | } |
| 289 | |
| 290 | /** |
| 291 | * Get the random bits for this house. |
no test coverage detected