diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-04-03 17:40:00 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-04-03 17:45:44 -0600 |
commit | adae511e08f2c473f738bbd00987fc3a1aad0123 (patch) | |
tree | 979e418068f02f761a08222092d478e0562cb82d /src/net/manaserv/generalhandler.cpp | |
parent | 77a4c494ec2cbaf17a67024283012102aa4d0d52 (diff) | |
download | mana-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/generalhandler.cpp')
-rw-r--r-- | src/net/manaserv/generalhandler.cpp | 3 |
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() |