summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-02-17 00:47:51 -0500
committergumi <git@gumi.ca>2018-02-17 00:47:51 -0500
commitd6d87bb62f067aac5a02372163fe5c74250d9270 (patch)
treee8a16504790493081182a1785d2e74da431b3150
parent1d5ae9db35f2159157efa76e9a0624594df2f2a3 (diff)
downloadtmwa-d6d87bb62f067aac5a02372163fe5c74250d9270.tar.gz
tmwa-d6d87bb62f067aac5a02372163fe5c74250d9270.tar.bz2
tmwa-d6d87bb62f067aac5a02372163fe5c74250d9270.tar.xz
tmwa-d6d87bb62f067aac5a02372163fe5c74250d9270.zip
propagate GM level updates
-rw-r--r--src/map/atcommand.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/atcommand.cpp b/src/map/atcommand.cpp
index cd00fe2..9e1b431 100644
--- a/src/map/atcommand.cpp
+++ b/src/map/atcommand.cpp
@@ -4600,6 +4600,8 @@ ATCE atcommand_adjgmlvl(Session *s, dumb_ptr<map_session_data>,
return ATCE::EXIST;
pc_set_gm_level(pl_sd->status_key.account_id, newlev);
+ clif_updatestatus(pl_sd, SP::GM); // propagate to self
+ clif_fixpcpos(pl_sd); // propagate to others
return ATCE::OKAY;
}