summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-11-26 15:22:55 -0800
committerBen Longbons <b.r.longbons@gmail.com>2011-11-28 13:15:26 -0800
commite2356a24d733fb4c83537d9724f9447831c43e5e (patch)
treea1282d2e1c900ddc937dd3a444b9e8f944dab382
parent3fafa0a699d9fd03eaeb17eeee0141e1f8b5001a (diff)
downloadserverdata-e2356a24d733fb4c83537d9724f9447831c43e5e.tar.gz
serverdata-e2356a24d733fb4c83537d9724f9447831c43e5e.tar.bz2
serverdata-e2356a24d733fb4c83537d9724f9447831c43e5e.tar.xz
serverdata-e2356a24d733fb4c83537d9724f9447831c43e5e.zip
Fix unterminated buffer bug when focusing/unfocusing skills.
-rw-r--r--world/map/npc/001-1/luca.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/world/map/npc/001-1/luca.txt b/world/map/npc/001-1/luca.txt
index 28c9a146..d581e2b6 100644
--- a/world/map/npc/001-1/luca.txt
+++ b/world/map/npc/001-1/luca.txt
@@ -288,6 +288,7 @@ L_focus:
getunactivatedpoolskilllist;
set @skilllist_id[@skilllist_count], 0;
set @skilllist_name$[@skilllist_count], "Nevermind";
+ set @skilllist_name$[@skilllist_count + 1], "";
menu
@skilllist_name$[0], -,
@skilllist_name$[1], -,
@@ -343,6 +344,7 @@ L_unfocus_menu:
set @skilllist_id[@skilllist_count], 0;
set @skilllist_name$[@skilllist_count], "Nevermind";
+ set @skilllist_name$[@skilllist_count + 1], "";
menu
@skilllist_name$[0], -,
@skilllist_name$[1], -,