diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-12 21:21:18 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-12 21:21:18 -0600 |
commit | 94716c19748ab87a0a215f05e15ad6cac1008f07 (patch) | |
tree | 4cde87b661b30a6a1b48f9d3057ac9ccd9f3bd82 | |
parent | 1cf7ca1327d903d6857db80f7eb1acbde8533030 (diff) | |
download | mana-94716c19748ab87a0a215f05e15ad6cac1008f07.tar.gz mana-94716c19748ab87a0a215f05e15ad6cac1008f07.tar.bz2 mana-94716c19748ab87a0a215f05e15ad6cac1008f07.tar.xz mana-94716c19748ab87a0a215f05e15ad6cac1008f07.zip |
Fix a rare segfault for eAthena and the partyTab
-rw-r--r-- | src/net/ea/partyhandler.cpp | 3 |
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(); |