* Check if the house is protected from removal by towns. * @param t The tile. * @return If the house is protected from the town upgrading it. */
| 80 | * @return If the house is protected from the town upgrading it. |
| 81 | */ |
| 82 | inline bool IsHouseProtected(Tile t) |
| 83 | { |
| 84 | assert(IsTileType(t, MP_HOUSE)); |
| 85 | return HasBit(t.m3(), 5); |
| 86 | } |
| 87 | |
| 88 | /** |
| 89 | * Set a house as protected from removal by towns. |
no test coverage detected