From bd2b6f5c05c7fdd3506d0bc298ec3db699f679ef Mon Sep 17 00:00:00 2001 From: shennetsind Date: Tue, 24 Jul 2012 05:25:09 +0000 Subject: Fixed @adjgroup so that the cached permissions are updated alongside the group id. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16488 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 6eeb5ec9f..ab2fadae2 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -6421,6 +6421,7 @@ ACMD_FUNC(adjgroup) } sd->group_id = new_group; + pc_group_pc_load(sd);/* update cache */ clif_displaymessage(fd, "Group changed successfully."); clif_displaymessage(sd->fd, "Your group has changed."); return 0; -- cgit v1.2.3-60-g2f50