* Set the house type. * @param t the tile * @param house_id the new house type * @pre IsTileType(t, MP_HOUSE) */
| 69 | * @pre IsTileType(t, MP_HOUSE) |
| 70 | */ |
| 71 | inline void SetHouseType(Tile t, HouseID house_id) |
| 72 | { |
| 73 | assert(IsTileType(t, MP_HOUSE)); |
| 74 | SB(t.m8(), 0, 12, house_id); |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * Check if the house is protected from removal by towns. |
no test coverage detected