diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-11-07 04:43:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-11-07 04:43:04 +0300 |
commit | bc7d91cc0c9c0f6dcad01d612932c6899afb5514 (patch) | |
tree | ef023ba9ec06ddedf261dad412187645df475e02 /src/guild.cpp | |
parent | d5d38cf61d5e8664eb3a1b48863bf8a835e7f28c (diff) | |
download | mv-bc7d91cc0c9c0f6dcad01d612932c6899afb5514.tar.gz mv-bc7d91cc0c9c0f6dcad01d612932c6899afb5514.tar.bz2 mv-bc7d91cc0c9c0f6dcad01d612932c6899afb5514.tar.xz mv-bc7d91cc0c9c0f6dcad01d612932c6899afb5514.zip |
Fix compilation under gcc 4.7 snapshot.
Diffstat (limited to 'src/guild.cpp')
-rw-r--r-- | src/guild.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guild.cpp b/src/guild.cpp index 5d129e11e..a2b85b6c1 100644 --- a/src/guild.cpp +++ b/src/guild.cpp @@ -255,7 +255,7 @@ void Guild::setRights(short rights) bool Guild::isMember(GuildMember *member) const { - if (member->mGuild > 0 && member->mGuild != this) + if (member->mGuild && member->mGuild != this) return false; MemberList::const_iterator itr = mMembers.begin(), |