(svn r15415) -Change: close the (station) joiner window when pressing the bulldozer.

This commit is contained in:
rubidium
2009-02-08 16:03:17 +00:00
parent cba3be0b4f
commit d88f2a0120
2 changed files with 3 additions and 0 deletions

View File

@@ -368,6 +368,8 @@ static void BuildRoadClick_Tunnel(Window *w)
static void BuildRoadClick_Remove(Window *w)
{
if (w->IsWidgetDisabled(RTW_REMOVE)) return;
DeleteWindowById(WC_SELECT_STATION, 0);
ToggleRoadButton_Remove(w);
SndPlayFx(SND_15_BEEP);
}