summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-22 15:38:43 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-22 15:38:43 +0000
commitf5d656918f0a76907b03d546d2d9e68edb48664c (patch)
treed4a364dd1087dd3fb5a7af1e29c7dbdc30fae9af /src
parent1d5a74a95d692da014348b66c47f3c357796bd66 (diff)
downloadhercules-f5d656918f0a76907b03d546d2d9e68edb48664c.tar.gz
hercules-f5d656918f0a76907b03d546d2d9e68edb48664c.tar.bz2
hercules-f5d656918f0a76907b03d546d2d9e68edb48664c.tar.xz
hercules-f5d656918f0a76907b03d546d2d9e68edb48664c.zip
* Fixed map server getting notified of hair, hair color, gender, class and level changes from a char server (TXT only) twice (since r2986).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14485 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/char/int_guild.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/char/int_guild.c b/src/char/int_guild.c
index f5f7222f9..01d88e4f2 100644
--- a/src/char/int_guild.c
+++ b/src/char/int_guild.c
@@ -1237,6 +1237,7 @@ int mapif_parse_GuildMemberInfoChange(int fd, int guild_id, int account_id, int
switch(type) {
case GMI_POSITION: // –ðE
g->member[i].position = *((int *)data);
+ mapif_guild_memberinfochanged(guild_id, account_id, char_id, type, data, len);
break;
case GMI_EXP: // EXP
{
@@ -1254,6 +1255,7 @@ int mapif_parse_GuildMemberInfoChange(int fd, int guild_id, int account_id, int
guild_calcinfo(g);
mapif_guild_basicinfochanged(guild_id,GBI_EXP,&g->exp,4);
}
+ mapif_guild_memberinfochanged(guild_id, account_id, char_id, type, data, len);
break;
}
case GMI_HAIR:
@@ -1291,7 +1293,6 @@ int mapif_parse_GuildMemberInfoChange(int fd, int guild_id, int account_id, int
ShowError("int_guild: GuildMemberInfoChange: Unknown type %d\n", type);
break;
}
- mapif_guild_memberinfochanged(guild_id, account_id, char_id, type, data, len);
return 0;
}