summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-11 00:01:36 +0100
committerIra Rice <irarice@gmail.com>2009-02-10 20:19:45 -0700
commitd99b00a149e7828adb3c4651069483e51b0b458b (patch)
tree33f07f9d18dd006d10b14ff2dffbcbe337809d0c /src/net
parentd268447e18c6e3edd80658f8f8d4317740c33af9 (diff)
downloadmana-d99b00a149e7828adb3c4651069483e51b0b458b.tar.gz
mana-d99b00a149e7828adb3c4651069483e51b0b458b.tar.bz2
mana-d99b00a149e7828adb3c4651069483e51b0b458b.tar.xz
mana-d99b00a149e7828adb3c4651069483e51b0b458b.zip
Removed many pointless comparisons with NULL
Sometimes it's nice for clarity, but most of the time this is just clutter. C++ != Java. :)
Diffstat (limited to 'src/net')
-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 3378a5d0..b65ff2c9 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;
}