summaryrefslogtreecommitdiff
path: root/src/net/tmwa/partyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-05 03:17:17 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-05 03:17:43 +0300
commit6d06bec226e4d6966e62612b41baf336955b23f4 (patch)
treeca0a59caa6276b77a04d241175c84facdef5d5ca /src/net/tmwa/partyhandler.cpp
parent3d28658a5f6cb95e32ac5c651859052c6c389704 (diff)
downloadmanaverse-6d06bec226e4d6966e62612b41baf336955b23f4.tar.gz
manaverse-6d06bec226e4d6966e62612b41baf336955b23f4.tar.bz2
manaverse-6d06bec226e4d6966e62612b41baf336955b23f4.tar.xz
manaverse-6d06bec226e4d6966e62612b41baf336955b23f4.zip
Fix crash if reconnecting to server. Was introduced after fixing memory leaks.
Diffstat (limited to 'src/net/tmwa/partyhandler.cpp')
-rw-r--r--src/net/tmwa/partyhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp
index 152348d78..eb99c2299 100644
--- a/src/net/tmwa/partyhandler.cpp
+++ b/src/net/tmwa/partyhandler.cpp
@@ -570,4 +570,9 @@ void PartyHandler::setShareItems(PartyShare share)
outMsg.writeInt16(share);
}
+void PartyHandler::reload()
+{
+ taParty = Party::getParty(1);
+}
+
} // namespace TmwAthena