From aa6f1c46e78864d9900cdf8afb8bacb8c4ce4651 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 27 Mar 2009 15:29:46 +0100 Subject: Removed all the static initializations of mAlpha They happened before the configuration was initialized, so that didn't make any sense. It never showed up as a problem since the value is constantly set in the draw methods anyway. --- src/gui/textfield.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/textfield.cpp') diff --git a/src/gui/textfield.cpp b/src/gui/textfield.cpp index 42279fc4..c94710b3 100644 --- a/src/gui/textfield.cpp +++ b/src/gui/textfield.cpp @@ -36,7 +36,7 @@ #undef DELETE //Win32 compatibility hack int TextField::instances = 0; -float TextField::mAlpha = config.getValue("guialpha", 0.8); +float TextField::mAlpha = 1.0; ImageRect TextField::skin; TextField::TextField(const std::string &text): -- cgit v1.2.3-70-g09d2