diff options
author | glx <glx@openttd.org> | 2008-05-18 14:12:16 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2008-05-18 14:12:16 +0000 |
commit | aab9e191f5612d0ddf309d8ec9de109218babd32 (patch) | |
tree | b85acb6df9931c0791746e9b99856a600ed5a129 /src | |
parent | 4bf7ab0d1c7e387277cb28f9b3a7391e07bbcd02 (diff) | |
download | openttd-aab9e191f5612d0ddf309d8ec9de109218babd32.tar.xz |
(svn r13163) -Codechange: remove unused code
Diffstat (limited to 'src')
-rw-r--r-- | src/tree_gui.cpp | 4 |
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: |