summaryrefslogtreecommitdiff
path: root/src/net/manaserv
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-04-03 17:40:00 -0600
committerJared Adams <jaxad0127@gmail.com>2010-04-03 17:45:44 -0600
commitadae511e08f2c473f738bbd00987fc3a1aad0123 (patch)
tree979e418068f02f761a08222092d478e0562cb82d /src/net/manaserv
parent77a4c494ec2cbaf17a67024283012102aa4d0d52 (diff)
downloadmana-adae511e08f2c473f738bbd00987fc3a1aad0123.tar.gz
mana-adae511e08f2c473f738bbd00987fc3a1aad0123.tar.bz2
mana-adae511e08f2c473f738bbd00987fc3a1aad0123.tar.xz
mana-adae511e08f2c473f738bbd00987fc3a1aad0123.zip
Fix a crash after changing servers
Reviewed-by: Chuck Miller
Diffstat (limited to 'src/net/manaserv')
-rw-r--r--src/net/manaserv/generalhandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/manaserv/generalhandler.cpp b/src/net/manaserv/generalhandler.cpp
index f2f7d33b..6e1639af 100644
--- a/src/net/manaserv/generalhandler.cpp
+++ b/src/net/manaserv/generalhandler.cpp
@@ -122,7 +122,8 @@ void GeneralHandler::load()
void GeneralHandler::reload()
{
- // Nothing needed yet
+ static_cast<CharHandler*>(mCharHandler.get())->setCharCreateDialog(0);
+ static_cast<CharHandler*>(mCharHandler.get())->setCharSelectDialog(0);
}
void GeneralHandler::unload()