industry_gui.c
changeset 1287 450ecf56b3c8
parent 1267 cbd68e5e31ac
child 1299 0a6510cc889b
--- a/industry_gui.c	Fri Feb 04 16:50:18 2005 +0000
+++ b/industry_gui.c	Fri Feb 04 17:14:36 2005 +0000
@@ -381,17 +381,6 @@
 			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;