summaryrefslogtreecommitdiff
path: root/src/party.cpp
diff options
context:
space:
mode:
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 f561ca49f..cb45fa355 100644
--- a/src/party.cpp
+++ b/src/party.cpp
@@ -220,7 +220,7 @@ bool Party::isMember(PartyMember *member) const
if (!member)
return false;
- if (member->mParty > 0 && member->mParty != this)
+ if (member->mParty && member->mParty != this)
return false;
MemberList::const_iterator itr = mMembers.begin();