diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-16 14:31:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-16 14:31:06 +0300 |
commit | 44ca1b1c650e08e45de738b19513136e71e40349 (patch) | |
tree | 70cbb7727880f18850d09584789493408cda91e3 /src/net/ea | |
parent | 040bb0a010786125d4964a9051d4c7b56dd9861b (diff) | |
download | mv-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.cpp | 3 |
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(); } } |