summaryrefslogtreecommitdiff
path: root/src/map/guild.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-29 12:49:30 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-29 12:49:30 +0000
commit246bcf76ea27aa1fa94f6a751ee40bf32298460a (patch)
tree3a3ef9a0b9fc143c8a15df387f79f84fd5844e80 /src/map/guild.c
parent133995b848e3fce1790148cc625047857362aae2 (diff)
downloadhercules-246bcf76ea27aa1fa94f6a751ee40bf32298460a.tar.gz
hercules-246bcf76ea27aa1fa94f6a751ee40bf32298460a.tar.bz2
hercules-246bcf76ea27aa1fa94f6a751ee40bf32298460a.tar.xz
hercules-246bcf76ea27aa1fa94f6a751ee40bf32298460a.zip
- Added some error reporting when a player is not found inside its guild/party while logging out.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12148 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/guild.c')
-rw-r--r--src/map/guild.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/guild.c b/src/map/guild.c
index 2d83e294e..b6db828ab 100644
--- a/src/map/guild.c
+++ b/src/map/guild.c
@@ -848,6 +848,8 @@ int guild_send_memberinfoshort(struct map_session_data *sd,int online)
int i=guild_getindex(g,sd->status.account_id,sd->status.char_id);
if(i>=0)
g->member[i].sd=NULL;
+ else
+ ShowError("guild_send_memberinfoshort: Failed to locate member %d:%d in guild %d!\n", sd->status.account_id, sd->status.char_id, g->guild_id);
return 0;
}