summaryrefslogtreecommitdiff
path: root/src/party.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-01-24 11:29:12 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-01-24 11:29:12 +0100
commit3c1b2d1c2a5bca25de5c2523c7ddde4c9dcdacde (patch)
tree34ee8342d3ed0efc8840402478aed7943d75a050 /src/party.cpp
parent418ffcadb0a5334ebe621369c14d6c3dd651acce (diff)
downloadmana-3c1b2d1c2a5bca25de5c2523c7ddde4c9dcdacde.tar.gz
mana-3c1b2d1c2a5bca25de5c2523c7ddde4c9dcdacde.tar.bz2
mana-3c1b2d1c2a5bca25de5c2523c7ddde4c9dcdacde.tar.xz
mana-3c1b2d1c2a5bca25de5c2523c7ddde4c9dcdacde.zip
Fixed a few coding errors the compiler complained about
Diffstat (limited to 'src/party.cpp')
-rw-r--r--src/party.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/party.cpp b/src/party.cpp
index 344bbdad..126a63c1 100644
--- a/src/party.cpp
+++ b/src/party.cpp
@@ -168,7 +168,7 @@ void Party::setRights(short rights)
bool Party::isMember(PartyMember *member) const
{
- if (member->mParty > 0 && member->mParty != this)
+ if (member->mParty != nullptr && member->mParty != this)
return false;
MemberList::const_iterator itr = mMembers.begin(),