From 724babffe10a6908d1510c941e5abfbe840fd271 Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Wed, 17 Oct 2007 20:15:39 +0000 Subject: * Reworked the parsing at npc.c. - Fixes npc.c discarding the '}' at the end of file, when there is no newline. (uncovered as a side-effect of r11487) * Empty script functions always have code now (won't report as missing when you try to call them). * Changed userfunc_db to not limit the name to 50 characters. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11502 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/map.h') diff --git a/src/map/map.h b/src/map/map.h index 2fbb7ffed..c3a90cb81 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -850,7 +850,7 @@ struct npc_data { struct npc_label_list *label_list; int src_id; } scr; - struct npc_item_list shop_item[1]; + struct npc_item_list shop_item[1];// dynamic array, allocated with extra entries (last one has nameid 0) struct { short xs,ys; short x,y; -- cgit v1.2.3-60-g2f50