Permalink
Browse files

Merge pull request #2235 from dastgirp/issue/2210

Fixed failed assertion in guild invite.
  • Loading branch information...
MishimaHaruna committed Oct 7, 2018
2 parents 7120569 + 9ac40db commit d6c3435b6d6ca032692ceaab5944acd9e8724977
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/map/guild.c
View
@@ -721,7 +721,6 @@ static int guild_reply_invite(struct map_session_data *sd, int guild_id, int fla
}
else
{// accepted
struct guild_member m;
struct guild* g;
int i;
@@ -741,8 +740,8 @@ static int guild_reply_invite(struct map_session_data *sd, int guild_id, int fla
return 0;
}
guild->makemember(&m,sd);
intif->guild_addmember(guild_id, &m);
guild->makemember(&g->member[i], sd);
intif->guild_addmember(guild_id, &g->member[i]);
//TODO: send a minimap update to this player
}

0 comments on commit d6c3435

Please sign in to comment.