From aaea79df0b87ec528e02743c4324429b20a413ed Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 12 Jun 2011 14:42:12 +0300 Subject: Fix change character. --- src/net/tmwa/generalhandler.cpp | 5 +++++ src/net/tmwa/generalhandler.h | 2 ++ 2 files changed, 7 insertions(+) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp index 9ee8e7a23..c6d98c60b 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -203,6 +203,11 @@ void GeneralHandler::reload() static_cast(mPartyHandler.get())->reload(); } +void GeneralHandler::reloadPartially() +{ + static_cast(mPartyHandler.get())->reload(); +} + void GeneralHandler::unload() { if (mNetwork) diff --git a/src/net/tmwa/generalhandler.h b/src/net/tmwa/generalhandler.h index 516db76c5..bccde03cb 100644 --- a/src/net/tmwa/generalhandler.h +++ b/src/net/tmwa/generalhandler.h @@ -61,6 +61,8 @@ class GeneralHandler : public MessageHandler, public Net::GeneralHandler, void event(Mana::Channels channel, const Mana::Event &event); + void reloadPartially(); + protected: MessageHandlerPtr mAdminHandler; MessageHandlerPtr mBeingHandler; -- cgit v1.2.3-70-g09d2