From 0d3fca9d6822c77f89d63c0b871d9019ecc07f64 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 4 Apr 2013 16:42:03 -0300 Subject: Follow up https://github.com/HerculesWS/Hercules/commit/7ec1e8fdff6adad1979d750774f9003f223bf3ef Fixed a issue with recently-invited guild members not being given the guild structure cache, special thanks to lighta for bringing the issue up (developed the fix with as well) Signed-off-by: shennetsind --- src/map/guild.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/map/guild.c b/src/map/guild.c index ec5b42af2..9b128c4e1 100644 --- a/src/map/guild.c +++ b/src/map/guild.c @@ -799,6 +799,7 @@ int guild_member_added(int guild_id,int account_id,int char_id,int flag) //if all ok add player to guild sd->status.guild_id = g->guild_id; sd->guild_emblem_id = g->emblem_id; + sd->guild = g; //Packets which were sent in the previous 'guild_sent' implementation. clif->guild_belonginfo(sd,g); clif->guild_notice(sd,g); -- cgit v1.2.3-60-g2f50