From bc7d91cc0c9c0f6dcad01d612932c6899afb5514 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 7 Nov 2011 04:43:04 +0300 Subject: Fix compilation under gcc 4.7 snapshot. --- src/guild.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/guild.cpp') 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(), -- cgit v1.2.3-70-g09d2