From 9e6c0ca8f20f5ba4cbfafe19938d0bb34d6ee031 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Mon, 15 Aug 2005 02:33:21 +0000 Subject: Removed guiTop global variable. --- src/engine.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/engine.cpp') 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(gui->getTop())->add(debugInfo); // Create dialogs chatWindow = new ChatWindow( -- cgit v1.2.3-70-g09d2