summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-12 14:42:12 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-12 14:42:12 +0300
commitaaea79df0b87ec528e02743c4324429b20a413ed (patch)
tree2a18287ee9d27b73ca2f8e53fef9b40b39952557 /src/net/tmwa
parent0b7dceed3c208a9551500ee4089a44a39c2f38b8 (diff)
downloadmanaverse-aaea79df0b87ec528e02743c4324429b20a413ed.tar.gz
manaverse-aaea79df0b87ec528e02743c4324429b20a413ed.tar.bz2
manaverse-aaea79df0b87ec528e02743c4324429b20a413ed.tar.xz
manaverse-aaea79df0b87ec528e02743c4324429b20a413ed.zip
Fix change character.v1.1.6.12
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/generalhandler.cpp5
-rw-r--r--src/net/tmwa/generalhandler.h2
2 files changed, 7 insertions, 0 deletions
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<PartyHandler*>(mPartyHandler.get())->reload();
}
+void GeneralHandler::reloadPartially()
+{
+ static_cast<PartyHandler*>(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;