From a9732d3ad6115ad7d590e819631dfbd764d13d3e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Apr 2013 21:01:35 +0300 Subject: remove useless checks. --- src/net/ea/partyhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/ea/partyhandler.cpp') diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp index 6172fce34..92cf48a2d 100644 --- a/src/net/ea/partyhandler.cpp +++ b/src/net/ea/partyhandler.cpp @@ -194,7 +194,7 @@ void PartyHandler::processPartyInvited(Net::MessageIn &msg) { if ((being = actorSpriteManager->findBeing(id))) { - if (being && being->getType() == Being::PLAYER) + if (being->getType() == Being::PLAYER) nick = being->getName(); } } -- cgit v1.2.3-70-g09d2