summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-07 21:01:35 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-07 21:38:22 +0300
commita9732d3ad6115ad7d590e819631dfbd764d13d3e (patch)
treec62984bf527305f275a521e227d785df769c1351 /src/net/ea
parentb43854b65e0c8bdbc37db2a0b6e2e86ebf11e7f7 (diff)
downloadplus-a9732d3ad6115ad7d590e819631dfbd764d13d3e.tar.gz
plus-a9732d3ad6115ad7d590e819631dfbd764d13d3e.tar.bz2
plus-a9732d3ad6115ad7d590e819631dfbd764d13d3e.tar.xz
plus-a9732d3ad6115ad7d590e819631dfbd764d13d3e.zip
remove useless checks.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/partyhandler.cpp2
1 files changed, 1 insertions, 1 deletions
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();
}
}