summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-15 02:33:21 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-15 02:33:21 +0000
commit9e6c0ca8f20f5ba4cbfafe19938d0bb34d6ee031 (patch)
tree5cbaaf4cbf64108edc39a02c0c26c5425f8a7dbb /src/engine.cpp
parent7f88cac6ff2f8c525bca5dd74e96662005358120 (diff)
downloadmana-9e6c0ca8f20f5ba4cbfafe19938d0bb34d6ee031.tar.gz
mana-9e6c0ca8f20f5ba4cbfafe19938d0bb34d6ee031.tar.bz2
mana-9e6c0ca8f20f5ba4cbfafe19938d0bb34d6ee031.tar.xz
mana-9e6c0ca8f20f5ba4cbfafe19938d0bb34d6ee031.zip
Removed guiTop global variable.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index a79319f1..4c91a688 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -177,7 +177,9 @@ Engine::Engine():
{
// Initializes GUI
debugInfo = new gcn::Label();
- guiTop->add(debugInfo);
+ // Oh, come on guichan folks, how useful is it to have a single widget gui?
+ // (Well, the BasicContainer interface isn't that much more useful... ;)
+ dynamic_cast<WindowContainer*>(gui->getTop())->add(debugInfo);
// Create dialogs
chatWindow = new ChatWindow(