From ce818cf6cf6702447c75cc45bfb8bfe3e12ff29a Mon Sep 17 00:00:00 2001 From: Lance Date: Tue, 13 Jun 2006 10:21:32 +0000 Subject: Fix git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7121 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/map/script.c b/src/map/script.c index 3cc11eb37..01e654a8b 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10177,8 +10177,6 @@ int buildin_npcshopadditem(struct script_state *st) { nd = (struct npc_data *)aRealloc(nd,sizeof(struct npc_data) + sizeof(nd->u.shop_item[0]) * (amount+n)); - n = 0; - while(st->end > st->start + i){ nd->u.shop_item[n].nameid = conv_num(st, & (st->stack->stack_data[st->start+i])); i++; -- cgit v1.2.3-70-g09d2