Преглед изворни кода

- Oops, fixed a pretty bad typo on the fix for #baselvup

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8863 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex пре 18 година
родитељ
комит
7637480204
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/map/charcommand.c

+ 1 - 1
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