summaryrefslogtreecommitdiff
path: root/src/transparency_gui.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-01-30 17:36:28 +0000
committerbelugas <belugas@openttd.org>2008-01-30 17:36:28 +0000
commite877189057c11df4920763725846088d9b9b773f (patch)
tree9faeacbb5a9ce414828f7061dd7ad9e356f64e0e /src/transparency_gui.cpp
parentbd1115e7ff9a6930cff71be4e245bb898b5bbfa0 (diff)
downloadopenttd-e877189057c11df4920763725846088d9b9b773f.tar.xz
(svn r12022) -Revert(r12018): Invisible trees are now separate from the building concept.
So when you want invisible trees, just select the option of the same name in the Patch Options and toggle transparency of trees. More to come on the saga of Invisibility. So stay tuned.
Diffstat (limited to 'src/transparency_gui.cpp')
-rw-r--r--src/transparency_gui.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/transparency_gui.cpp b/src/transparency_gui.cpp
index df214e81d..33c21d078 100644
--- a/src/transparency_gui.cpp
+++ b/src/transparency_gui.cpp
@@ -7,7 +7,6 @@
#include "variables.h"
#include "transparency.h"
#include "sound_func.h"
-#include "settings_type.h"
#include "table/sprites.h"
#include "table/strings.h"
@@ -39,10 +38,6 @@ static void TransparencyToolbWndProc(Window *w, WindowEvent *e)
w->SetWidgetLoweredState(i, IsTransparencySet((TransparencyOption)(i - TTW_WIDGET_SIGNS)));
}
- /* Disabling the trees button allows to make it very evident that it has no effect
- * upon current situation */
- w->SetWidgetDisabledState(TTW_WIDGET_TREES, _patches.invisible_trees && IsTransparencySet(TO_HOUSES));
-
DrawWindowWidgets(w);
break;