summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-20 21:00:38 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-20 21:00:38 +0200
commit8f1421e791ac6cbb7af3bde69f1b44e0f8fd080d (patch)
treec91cdf126ebb84e475f7c5b19ce47d057fc38972 /src
parent1658af139054adcc79f5571df14a3f60f26e2fa8 (diff)
downloadmana-client-8f1421e791ac6cbb7af3bde69f1b44e0f8fd080d.tar.gz
mana-client-8f1421e791ac6cbb7af3bde69f1b44e0f8fd080d.tar.bz2
mana-client-8f1421e791ac6cbb7af3bde69f1b44e0f8fd080d.tar.xz
mana-client-8f1421e791ac6cbb7af3bde69f1b44e0f8fd080d.zip
Remove desktop and setup button when logging into tmwserv
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
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");