summaryrefslogtreecommitdiff
path: root/src/map/atcommand.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/atcommand.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/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 19a7e360b..872c31330 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -5605,7 +5605,7 @@ ACMD(changegm) {
return false;
}
- guild->gm_change(sd->status.guild_id, pl_sd);
+ guild->gm_change(sd->status.guild_id, pl_sd->status.char_id);
return true;
}