summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-26 06:10:57 +0000
committersketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-26 06:10:57 +0000
commit89f86c8022179b82af00eb8fe0e53c164bc74b3a (patch)
treeb6379a07e0360ef484b13acf668e44dc72ee6511
parent78d0348440ea4856e44044fff370b8bd4dfe90db (diff)
downloadhercules-89f86c8022179b82af00eb8fe0e53c164bc74b3a.tar.gz
hercules-89f86c8022179b82af00eb8fe0e53c164bc74b3a.tar.bz2
hercules-89f86c8022179b82af00eb8fe0e53c164bc74b3a.tar.xz
hercules-89f86c8022179b82af00eb8fe0e53c164bc74b3a.zip
* 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
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/atcommand.c2
2 files changed, 3 insertions, 1 deletions
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;
}