summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
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 /src/map/atcommand.c
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
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
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;
}