From 89f86c8022179b82af00eb8fe0e53c164bc74b3a Mon Sep 17 00:00:00 2001 From: sketchyphoenix Date: Tue, 26 Aug 2008 06:10:57 +0000 Subject: * Fixed @agjgmlvl bug preventing its use on other players. (bugreport:2124) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13138 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 2 ++ src/map/atcommand.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index c7582ab20..997d27f93 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 965199331..217587f7e 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; } -- cgit v1.2.3-70-g09d2