summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-16 14:31:06 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-16 14:31:06 +0300
commit44ca1b1c650e08e45de738b19513136e71e40349 (patch)
tree70cbb7727880f18850d09584789493408cda91e3 /src/net/ea
parent040bb0a010786125d4964a9051d4c7b56dd9861b (diff)
downloadmv-44ca1b1c650e08e45de738b19513136e71e40349.tar.gz
mv-44ca1b1c650e08e45de738b19513136e71e40349.tar.bz2
mv-44ca1b1c650e08e45de738b19513136e71e40349.tar.xz
mv-44ca1b1c650e08e45de738b19513136e71e40349.zip
add missing checks.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/partyhandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp
index 819b2f133..7eee0d4e7 100644
--- a/src/net/ea/partyhandler.cpp
+++ b/src/net/ea/partyhandler.cpp
@@ -142,7 +142,8 @@ void PartyHandler::processPartyInfo(Net::MessageIn &msg) const
{
player_node->setParty(Ea::taParty);
player_node->setPartyName(Ea::taParty->getName());
- socialWindow->updateParty();
+ if (socialWindow)
+ socialWindow->updateParty();
}
}