Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37860469
en ru br
ALT Linux repos
S:0.5.2-alt5_9

Group :: Games/Other
RPM: manaworld

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: tmw-0.5.2-gcc11.patch
Download


diff -ru tmw-0.5.2-orig/src/guild.cpp tmw-0.5.2/src/guild.cpp
--- tmw-0.5.2-orig/src/guild.cpp	2012-10-05 08:01:09.000000000 +0300
+++ tmw-0.5.2/src/guild.cpp	2021-09-24 19:40:14.995477081 +0300
@@ -172,7 +172,7 @@
 
 bool Guild::isMember(GuildMember *member) const
 {
-    if (member->mGuild > 0 && member->mGuild != this)
+    if (member->mGuild != 0 && member->mGuild != this)
         return false;
 
     MemberList::const_iterator itr = mMembers.begin(),
diff -ru tmw-0.5.2-orig/src/party.cpp tmw-0.5.2/src/party.cpp
--- tmw-0.5.2-orig/src/party.cpp	2012-10-05 08:01:09.000000000 +0300
+++ tmw-0.5.2/src/party.cpp	2021-09-24 19:46:32.570694179 +0300
@@ -167,7 +167,7 @@
 
 bool Party::isMember(PartyMember *member) const
 {
-    if (member->mParty > 0 && member->mParty != this)
+    if (member->mParty != 0 && member->mParty != this)
         return false;
 
     MemberList::const_iterator itr = mMembers.begin(),
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin