summaryrefslogtreecommitdiff
path: root/src/net/ea/partyhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-25 16:27:47 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-25 16:27:47 -0600
commit19b2ed2df87753ab8f767652f728ec6c30bb3ee6 (patch)
tree855580c7cfe40e552e055bbfbaea4f5fefe6250e /src/net/ea/partyhandler.cpp
parentf676ce79cb51ac87d09619c09193e38431788270 (diff)
downloadmana-19b2ed2df87753ab8f767652f728ec6c30bb3ee6.tar.gz
mana-19b2ed2df87753ab8f767652f728ec6c30bb3ee6.tar.bz2
mana-19b2ed2df87753ab8f767652f728ec6c30bb3ee6.tar.xz
mana-19b2ed2df87753ab8f767652f728ec6c30bb3ee6.zip
Fix occasional starting crash when in a party
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-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 8001488a..b4f21e44 100644
--- a/src/net/ea/partyhandler.cpp
+++ b/src/net/ea/partyhandler.cpp
@@ -83,6 +83,9 @@ void PartyHandler::handleMessage(MessageIn &msg)
break;
case SMSG_PARTY_INFO:
{
+ if (!partyWindow)
+ break;
+
partyWindow->clear();
int length = msg.readInt16();