diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-13 10:21:32 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-13 10:21:32 +0000 |
commit | ce818cf6cf6702447c75cc45bfb8bfe3e12ff29a (patch) | |
tree | ad5166746db41b9a63092102b42ff7b1f2ce0a7e /src/map | |
parent | 046a2baa5074a0b00bcd5d28c58c0fc5e82b653d (diff) | |
download | hercules-ce818cf6cf6702447c75cc45bfb8bfe3e12ff29a.tar.gz hercules-ce818cf6cf6702447c75cc45bfb8bfe3e12ff29a.tar.bz2 hercules-ce818cf6cf6702447c75cc45bfb8bfe3e12ff29a.tar.xz hercules-ce818cf6cf6702447c75cc45bfb8bfe3e12ff29a.zip |
Fix
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7121 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/script.c | 2 |
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++;
|