summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-04 17:00:09 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-04 17:00:09 +0300
commite668ab141d6b006b790d2b0a8fc515d13b78317e (patch)
treeb4aa71e9a4af62c948183328bbf74c2e1bf4eb84 /src/client.cpp
parent98cc93d2321b9be0a2a5ae6bf67aecf6adcdd2fb (diff)
downloadmanaplus-e668ab141d6b006b790d2b0a8fc515d13b78317e.tar.gz
manaplus-e668ab141d6b006b790d2b0a8fc515d13b78317e.tar.bz2
manaplus-e668ab141d6b006b790d2b0a8fc515d13b78317e.tar.xz
manaplus-e668ab141d6b006b790d2b0a8fc515d13b78317e.zip
Cleanup part list and beinginfo.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index eaf6cb309..fbebfb2c3 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -25,17 +25,18 @@
#include "chatlog.h"
#include "configuration.h"
+#include "dropshortcut.h"
#include "emoteshortcut.h"
#include "event.h"
#include "game.h"
#include "graphicsvertexes.h"
#include "itemshortcut.h"
-#include "dropshortcut.h"
#include "keyboardconfig.h"
#ifdef USE_OPENGL
#include "openglgraphics.h"
#include "opengl1graphics.h"
#endif
+#include "party.h"
#include "playerrelations.h"
#include "sound.h"
#include "statuseffect.h"
@@ -77,6 +78,7 @@
#include "net/packetcounters.h"
#include "net/worldinfo.h"
+#include "resources/beinginfo.h"
#include "resources/colordb.h"
#include "resources/emotedb.h"
#include "resources/image.h"
@@ -601,6 +603,8 @@ Client::~Client()
logger->log1("Quitting5");
+ BeingInfo::clear();
+
// Shutdown sound
sound.close();
@@ -799,6 +803,7 @@ int Client::exec()
ResourceManager *resman = ResourceManager::getInstance();
if (resman)
resman->cleanOrphans();
+ Party::clearParties();
}
mOldState = mState;