diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index c7582ab202..997d27f93c 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -3,6 +3,8 @@ Date Added AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. +2008/08/26 + * Fixed @agjgmlvl bug preventing its use on other players. (bugreport:2124) [SketchyPhoenix] 2008/08/25 * Fixed homun sp regen bug introduced on r12953 bugreport:2071 [Brain] * Fixed: several compiler warnings [akrus] diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 9651993315..217587f7ef 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -6609,7 +6609,7 @@ int atcommand_adjgmlvl(const int fd, struct map_session_data* sd, const char* co return -1; } - sd->gmlevel = newlev; + pl_sd->gmlevel = newlev; return 0; }