summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index fddf51169..8fc6ad3f5 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -4853,7 +4853,7 @@ BUILDIN_FUNC(cleararray)
if( end > 127 )
end = 127;
- for( ; start < end; ++start )
+ for( ; start <= end; ++start )
set_reg(st, sd, reference_uid(id, start), name, v, script_getref(st,2));
return 0;
}