--- a/airport_gui.c Tue Nov 08 23:18:09 2005 +0000
+++ b/airport_gui.c Wed Nov 09 07:25:55 2005 +0000
@@ -107,6 +107,10 @@
if (w != 0)
WP(w,def_d).close = true;
break;
+
+ case WE_DESTROY:
+ if (_patches.link_terraform_toolbar) DeleteWindowById(WC_SCEN_LAND_GEN, 0);
+ break;
}
}
@@ -134,6 +138,7 @@
if (_current_player == OWNER_SPECTATOR) return;
DeleteWindowById(WC_BUILD_TOOLBAR, 0);
AllocateWindowDescFront(&_air_toolbar_desc, 0);
+ if (_patches.link_terraform_toolbar) ShowTerraformToolbar();
}
static void BuildAirportPickerWndProc(Window *w, WindowEvent *e)