From e668ab141d6b006b790d2b0a8fc515d13b78317e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 4 Jun 2011 17:00:09 +0300 Subject: Cleanup part list and beinginfo. --- src/client.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/client.cpp') 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; -- cgit v1.2.3-60-g2f50