summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/guild.c2
-rw-r--r--src/map/party.c2
2 files changed, 4 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;
}
diff --git a/src/map/party.c b/src/map/party.c
index 0f042db89..c6bfb2224 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -589,6 +589,8 @@ int party_send_logout(struct map_session_data *sd)
ARR_FIND( 0, MAX_PARTY, i, p->data[i].sd == sd );
if( i < MAX_PARTY )
memset(&p->data[i], 0, sizeof(p->data[0]));
+ else
+ ShowError("party_send_logout: Failed to locate member %d:%d in party %d!\n", sd->status.account_id, sd->status.char_id, p->party.party_id);
return 1;
}