| 2440 | } |
| 2441 | |
| 2442 | void OnPlaceObject([[maybe_unused]] Point pt, TileIndex tile) override |
| 2443 | { |
| 2444 | switch (_last_started_action) { |
| 2445 | case CBF_PLACE_SIGN: |
| 2446 | PlaceProc_Sign(tile); |
| 2447 | break; |
| 2448 | |
| 2449 | case CBF_PLACE_LANDINFO: |
| 2450 | ShowLandInfo(tile); |
| 2451 | break; |
| 2452 | |
| 2453 | default: NOT_REACHED(); |
| 2454 | } |
| 2455 | } |
| 2456 | |
| 2457 | void OnPlaceObjectAbort() override |
| 2458 | { |
nothing calls this directly
no test coverage detected