summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-05-18 14:12:16 +0000
committerglx <glx@openttd.org>2008-05-18 14:12:16 +0000
commitdc69a7c51bb379a9a35cec77d235567b30cde867 (patch)
treeb85acb6df9931c0791746e9b99856a600ed5a129
parent119b892f95e192c278d2d88f50581a99cfc7db30 (diff)
downloadopenttd-dc69a7c51bb379a9a35cec77d235567b30cde867.tar.xz
(svn r13163) -Codechange: remove unused code
-rw-r--r--src/tree_gui.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tree_gui.cpp b/src/tree_gui.cpp
index dd4beb46d..f1c6d4b06 100644
--- a/src/tree_gui.cpp
+++ b/src/tree_gui.cpp
@@ -92,10 +92,6 @@ public:
virtual void OnClick(Point pt, int widget)
{
switch (widget) {
- case BTW_CLOSE:
- ResetObjectToPlace();
- break;
-
case BTW_TYPE_11: case BTW_TYPE_12: case BTW_TYPE_13: case BTW_TYPE_14:
case BTW_TYPE_21: case BTW_TYPE_22: case BTW_TYPE_23: case BTW_TYPE_24:
case BTW_TYPE_31: case BTW_TYPE_32: case BTW_TYPE_33: case BTW_TYPE_34: