summaryrefslogtreecommitdiff
path: root/src/net/partyhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/partyhandler.cpp')
-rw-r--r--src/net/partyhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/partyhandler.cpp b/src/net/partyhandler.cpp
index 03aca66d..fe7db55d 100644
--- a/src/net/partyhandler.cpp
+++ b/src/net/partyhandler.cpp
@@ -69,7 +69,7 @@ void PartyHandler::handleMessage(MessageIn *msg)
{
int id = msg->readInt32();
Being *being = beingManager->findBeing(id);
- if (being == NULL)
+ if (!being)
{
break;
}