summaryrefslogtreecommitdiff
path: root/industry_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-04 17:14:36 +0000
committertron <tron@openttd.org>2005-02-04 17:14:36 +0000
commit04921a9015c03bc91ca3645ba0d943a756ea2884 (patch)
tree76ba2ba3d4b5420595e2f75e85f58a04311b0a4d /industry_gui.c
parente2dab60ad1ef406948f0929098d248f134311c7e (diff)
downloadopenttd-04921a9015c03bc91ca3645ba0d943a756ea2884.tar.xz
(svn r1791) Remove the remnants of CMD_DESTROY_INDUSTRY, which was removed a long time ago
Diffstat (limited to 'industry_gui.c')
-rw-r--r--industry_gui.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/industry_gui.c b/industry_gui.c
index 11854c501..1d5e73842 100644
--- a/industry_gui.c
+++ b/industry_gui.c
@@ -381,17 +381,6 @@ static void IndustryViewWndProc(Window *w, WindowEvent *e)
i = GetIndustry(w->window_number);
ScrollMainWindowToTile(i->xy + TILE_XY(1,1));
break;
- case 7:
- // Destroy Industry button costing money removed per request of dominik
- //i = GetIndustry(w->window_number);
- /* passing only i->xy is not safe if industry has a weird shape like:
- _ X X
- X X X
- _ <--- grass, no industry, but i->xy points there (first top-left tile)!,
- so passing i->xy to destroy industry will fail in called procedure
- */
- //DoCommandP(i->xy, w->window_number, 0, CcPlaySound10, CMD_DESTROY_INDUSTRY | CMD_MSG(STR_00B5_CAN_T_CLEAR_THIS_AREA));
- break;
}
}
break;