summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/charcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/charcommand.c b/src/map/charcommand.c
index fdb91bea9..c638bffa3 100644
--- a/src/map/charcommand.c
+++ b/src/map/charcommand.c
@@ -1322,7 +1322,7 @@ int charcommand_baselevel(
for (i = 0; i > -level; i--)
status_point += (pl_sd->status.base_level +i + 14) / 5;
if (pl_sd->status.status_point < status_point)
- pc_resetstate(sd);
+ pc_resetstate(pl_sd);
if (pl_sd->status.status_point < status_point)
pl_sd->status.status_point = 0;
else