diff options
Diffstat (limited to 'src/net/tmwa/generalhandler.cpp')
-rw-r--r-- | src/net/tmwa/generalhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp index b1a555d4f..1d4d5274f 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -199,14 +199,14 @@ void GeneralHandler::reload() mNetwork->disconnect(); static_cast<LoginHandler*>(mLoginHandler.get())->clearWorlds(); - CharServerHandler *charHandler = static_cast<CharServerHandler*>( + CharServerHandler *const charHandler = static_cast<CharServerHandler*>( mCharServerHandler.get()); charHandler->setCharCreateDialog(nullptr); charHandler->setCharSelectDialog(nullptr); static_cast<PartyHandler*>(mPartyHandler.get())->reload(); } -void GeneralHandler::reloadPartially() +void GeneralHandler::reloadPartially() const { static_cast<PartyHandler*>(mPartyHandler.get())->reload(); } |