diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-05 03:17:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-05 03:17:43 +0300 |
commit | 6d06bec226e4d6966e62612b41baf336955b23f4 (patch) | |
tree | ca0a59caa6276b77a04d241175c84facdef5d5ca /src/net/tmwa/generalhandler.cpp | |
parent | 3d28658a5f6cb95e32ac5c651859052c6c389704 (diff) | |
download | plus-6d06bec226e4d6966e62612b41baf336955b23f4.tar.gz plus-6d06bec226e4d6966e62612b41baf336955b23f4.tar.bz2 plus-6d06bec226e4d6966e62612b41baf336955b23f4.tar.xz plus-6d06bec226e4d6966e62612b41baf336955b23f4.zip |
Fix crash if reconnecting to server. Was introduced after fixing memory leaks.
Diffstat (limited to 'src/net/tmwa/generalhandler.cpp')
-rw-r--r-- | src/net/tmwa/generalhandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp index 2e9070eb7..9ee8e7a23 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -199,6 +199,8 @@ void GeneralHandler::reload() mCharHandler.get())->setCharCreateDialog(0); static_cast<CharServerHandler*>( mCharHandler.get())->setCharSelectDialog(0); + + static_cast<PartyHandler*>(mPartyHandler.get())->reload(); } void GeneralHandler::unload() |