summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/script.c2
1 files changed, 0 insertions, 2 deletions
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++;