From 8f1421e791ac6cbb7af3bde69f1b44e0f8fd080d Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Mon, 20 Apr 2009 21:00:38 +0200 Subject: Remove desktop and setup button when logging into tmwserv --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index f5b3c4d8..5c9d1726 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1271,6 +1271,11 @@ int main(int argc, char *argv[]) Net::ChatServer::connect(chatServerConnection, token); sound.fadeOutMusic(1000); + delete setupButton; + delete desktop; + setupButton = NULL; + desktop = NULL; + currentDialog = NULL; logger->log("State: GAME"); -- cgit v1.2.3-70-g09d2