summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-04 16:42:03 -0300
committershennetsind <ind@henn.et>2013-04-04 16:42:03 -0300
commit0d3fca9d6822c77f89d63c0b871d9019ecc07f64 (patch)
tree0ef3f6b7e5f6bb2ba103f66cc3bee9ea84944b62
parent805500b5ab665b265024564bb88acf8aa83eecc1 (diff)
downloadhercules-0d3fca9d6822c77f89d63c0b871d9019ecc07f64.tar.gz
hercules-0d3fca9d6822c77f89d63c0b871d9019ecc07f64.tar.bz2
hercules-0d3fca9d6822c77f89d63c0b871d9019ecc07f64.tar.xz
hercules-0d3fca9d6822c77f89d63c0b871d9019ecc07f64.zip
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 <ind@henn.et>
-rw-r--r--src/map/guild.c1
1 files changed, 1 insertions, 0 deletions
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);