summaryrefslogtreecommitdiff
path: root/npc/kafras
diff options
context:
space:
mode:
authorStreusel <streusel@gravity.co.kr>2015-06-04 23:30:18 -0700
committerStreusel <streusel@gravity.co.kr>2015-06-04 23:30:18 -0700
commit3d05cf3a3cf9c72e9bd2a3c93a3477837b80b9b3 (patch)
treeedf1a52a13718759c3fdf4b7c86493db8d9577fc /npc/kafras
parent450b0a3aeb6b472805c470712a0e6ebd9d04eb2a (diff)
downloadhercules-3d05cf3a3cf9c72e9bd2a3c93a3477837b80b9b3.tar.gz
hercules-3d05cf3a3cf9c72e9bd2a3c93a3477837b80b9b3.tar.bz2
hercules-3d05cf3a3cf9c72e9bd2a3c93a3477837b80b9b3.tar.xz
hercules-3d05cf3a3cf9c72e9bd2a3c93a3477837b80b9b3.zip
Addressed issue #519
Diffstat (limited to 'npc/kafras')
-rw-r--r--npc/kafras/functions_kafras.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt
index 483e9b72a..eabd3f1d8 100644
--- a/npc/kafras/functions_kafras.txt
+++ b/npc/kafras/functions_kafras.txt
@@ -315,7 +315,7 @@ function script F_KafTele {
mes "your destination.";
next;
.@menu$ = "";
- for (.@i = 0; .@i <= 6; ++.@i)
+ for (.@i = 0; .@i <= getarraysize(@wrpD$); ++.@i)
.@menu$ += @wrpC$[.@i] + ":";
.@j = select(.@menu$) - 1;
if (@wrpC$[.@j] == "Cancel")