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
commitb5ed24e39e4babb894cbb786f631c370766aa8af (patch)
tree76ba2ba3d4b5420595e2f75e85f58a04311b0a4d /industry_gui.c
parent361d415b88a18e646f24ed3d39345f8ebbb61a72 (diff)
downloadopenttd-b5ed24e39e4babb894cbb786f631c370766aa8af.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;