summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-12 21:21:18 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-12 21:21:18 -0600
commit94716c19748ab87a0a215f05e15ad6cac1008f07 (patch)
tree4cde87b661b30a6a1b48f9d3057ac9ccd9f3bd82 /src/net
parent1cf7ca1327d903d6857db80f7eb1acbde8533030 (diff)
downloadmana-client-94716c19748ab87a0a215f05e15ad6cac1008f07.tar.gz
mana-client-94716c19748ab87a0a215f05e15ad6cac1008f07.tar.bz2
mana-client-94716c19748ab87a0a215f05e15ad6cac1008f07.tar.xz
mana-client-94716c19748ab87a0a215f05e15ad6cac1008f07.zip
Fix a rare segfault for eAthena and the partyTab
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/partyhandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp
index 2f1b02ab..5e7f43c4 100644
--- a/src/net/ea/partyhandler.cpp
+++ b/src/net/ea/partyhandler.cpp
@@ -156,6 +156,9 @@ void PartyHandler::handleMessage(MessageIn &msg)
}
case SMSG_PARTY_SETTINGS:
{
+ if (!partyTab)
+ break;
+
// These seem to indicate the sharing mode for exp and items
short exp = msg.readInt16();
short item = msg.readInt16();