summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}