summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-15 01:44:58 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-25 01:43:47 +0300
commitccf79c7d339dcfb1b95b1adbff5f26d80c013d16 (patch)
treeb47e25f3bcc5ed69048ffdfa744c2fd5fe5ca0c2 /src/map/script.c
parent4d11bf44c8c481045ce496669830b1990deca464 (diff)
downloadhercules-ccf79c7d339dcfb1b95b1adbff5f26d80c013d16.tar.gz
hercules-ccf79c7d339dcfb1b95b1adbff5f26d80c013d16.tar.bz2
hercules-ccf79c7d339dcfb1b95b1adbff5f26d80c013d16.tar.xz
hercules-ccf79c7d339dcfb1b95b1adbff5f26d80c013d16.zip
fix guild leader change in 2017 clients. Based on rathena commit:
commit b51617cb730cdc6d91bc03df16c887a060323f3a Author: Lemongrass3110 <lemongrass@kstp.at> Date: Sat Jun 3 17:03:56 2017 +0200 Added support for 2017's guild leader change
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index f7104d255..d993f7547 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -10635,7 +10635,7 @@ BUILDIN(guildchangegm)
if (sd == NULL)
script_pushint(st,0);
else
- script_pushint(st,guild->gm_change(guild_id, sd));
+ script_pushint(st, guild->gm_change(guild_id, sd->status.char_id));
return true;
}