diff options
author | tron <tron@openttd.org> | 2005-10-26 07:12:14 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-26 07:12:14 +0000 |
commit | e310aef45f58763eacb41a692649329e051d06eb (patch) | |
tree | e85e547f670ea372096be6544c91b309b928cb80 /industry_gui.c | |
parent | 6b0bbde53d72fc0e75c020acf9fcd435b231ac37 (diff) | |
download | openttd-e310aef45f58763eacb41a692649329e051d06eb.tar.xz |
(svn r3090) Remove long dead pieces of code
Diffstat (limited to 'industry_gui.c')
-rw-r--r-- | industry_gui.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/industry_gui.c b/industry_gui.c index 0402f8769..08346fd3a 100644 --- a/industry_gui.c +++ b/industry_gui.c @@ -281,9 +281,7 @@ static void IndustryViewWndProc(Window *w, WindowEvent *e) case WE_PAINT: { const Industry *i; StringID str; - // in editor, use bulldoze to destroy industry - // Destroy Industry button costing money removed per request of dominik - //w->disabled_state = (_patches.extra_dynamite && !_networking && _game_mode != GM_EDITOR) ? 0 : (1 << 6); + i = GetIndustry(w->window_number); SetDParam(0, w->window_number); DrawWindowWidgets(w); @@ -429,8 +427,6 @@ static const Widget _industry_view_widgets[] = { { WWT_IMGBTN, RESIZE_NONE, 9, 0, 259, 106, 147, 0x0, STR_NULL}, { WWT_PUSHTXTBTN, RESIZE_NONE, 9, 0, 129, 148, 159, STR_00E4_LOCATION, STR_482C_CENTER_THE_MAIN_VIEW_ON}, { WWT_IMGBTN, RESIZE_NONE, 9, 130, 259, 148, 159, 0x0, STR_NULL}, -// Destroy Industry button costing money removed per request of dominik -//{ WWT_PUSHTXTBTN, RESIZE_NONE, 9, 130, 259, 148, 159, STR_INDUSTRYDIR_DESTROY, STR_482C_DESTROY_INDUSTRY}, { WIDGETS_END}, }; |