1
0
Fork 0

Compare commits

..

2 Commits

Author SHA1 Message Date
Tyler Trahan 1e1b2c8037 Change: Convert house placer protection buttons to a single toggle 2025-07-21 14:18:29 -04:00
Tyler Trahan 632029e277 Feature: House placer mode to overbuild existing houses 2025-07-21 14:18:29 -04:00
2 changed files with 2 additions and 1 deletions

View File

@ -1741,6 +1741,7 @@ struct BuildHouseWindow : public PickerWindow {
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);
this->SetDirty();
break;
case WID_BH_OVERBUILD_TOGGLE:
BuildHouseWindow::overbuild = !BuildHouseWindow::overbuild;
this->SetWidgetLoweredState(WID_BH_OVERBUILD_TOGGLE, BuildHouseWindow::overbuild);