summaryrefslogtreecommitdiff
path: root/src/party.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-07 04:43:04 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-07 04:43:04 +0300
commitbc7d91cc0c9c0f6dcad01d612932c6899afb5514 (patch)
treeef023ba9ec06ddedf261dad412187645df475e02 /src/party.cpp
parentd5d38cf61d5e8664eb3a1b48863bf8a835e7f28c (diff)
downloadmanaplus-bc7d91cc0c9c0f6dcad01d612932c6899afb5514.tar.gz
manaplus-bc7d91cc0c9c0f6dcad01d612932c6899afb5514.tar.bz2
manaplus-bc7d91cc0c9c0f6dcad01d612932c6899afb5514.tar.xz
manaplus-bc7d91cc0c9c0f6dcad01d612932c6899afb5514.zip
Fix compilation under gcc 4.7 snapshot.
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();