From 6a0093b170719092e6c0f11b889353cd70b38313 Mon Sep 17 00:00:00 2001 From: Emistry Date: Sun, 6 Sep 2015 19:40:03 +0800 Subject: *explode return array size. http://herc.ws/board/topic/7489-explode-to-push-arraysize/ Closes #700 as merged Signed-off-by: Haru --- src/map/script.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/map/script.c b/src/map/script.c index f438de3ab..fedfc895c 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -14967,6 +14967,8 @@ BUILDIN(explode) script->set_reg(st, sd, reference_uid(id, start + k), name, (void*)temp, reference_getref(data)); aFree(temp); + + script_pushint(st, k + 1); return true; } -- cgit v1.2.3-70-g09d2