summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 184e9121c..3a74c5d00 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -4140,8 +4140,8 @@ BUILDIN_FUNC(areapercentheal)
y0=script_getnum(st,4);
x1=script_getnum(st,5);
y1=script_getnum(st,6);
- hp=script_getnum(st,8);
- sp=script_getnum(st,9);
+ hp=script_getnum(st,7);
+ sp=script_getnum(st,8);
if( (m=map_mapname2mapid(mapname))< 0)
return 0;