| 2071 | } |
| 2072 | |
| 2073 | void OnPlaceObject([[maybe_unused]] Point pt, TileIndex tile) override |
| 2074 | { |
| 2075 | switch (_last_started_action) { |
| 2076 | case CBF_PLACE_SIGN: |
| 2077 | PlaceProc_Sign(tile); |
| 2078 | break; |
| 2079 | |
| 2080 | case CBF_PLACE_LANDINFO: |
| 2081 | ShowLandInfo(tile); |
| 2082 | break; |
| 2083 | |
| 2084 | default: NOT_REACHED(); |
| 2085 | } |
| 2086 | } |
| 2087 | |
| 2088 | void OnPlaceObjectAbort() override |
| 2089 | { |
nothing calls this directly
no test coverage detected