* Get the size of the HQ. * @param tile The (northern) tile of the company HQ. * @return HQ size. */
| 152 | * @return HQ size. |
| 153 | */ |
| 154 | static uint8_t GetCompanyHQSize(TileIndex tile) |
| 155 | { |
| 156 | /* We encode the company HQ size in the animation state. */ |
| 157 | return GetAnimationFrame(tile); |
| 158 | } |
| 159 | |
| 160 | /** |
| 161 | * Update the CompanyHQ to the state associated with the given score |
no test coverage detected