summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-13 10:34:21 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-13 10:34:21 +0000
commit7a2ad278e0d505ed3afdaba9bec213043be135a5 (patch)
tree10c189bfb835b76080f411eb5d10e7d4e59fd7e7 /src/map/script.c
parentce818cf6cf6702447c75cc45bfb8bfe3e12ff29a (diff)
downloadhercules-7a2ad278e0d505ed3afdaba9bec213043be135a5.tar.gz
hercules-7a2ad278e0d505ed3afdaba9bec213043be135a5.tar.bz2
hercules-7a2ad278e0d505ed3afdaba9bec213043be135a5.tar.xz
hercules-7a2ad278e0d505ed3afdaba9bec213043be135a5.zip
Fix
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7122 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 01e654a8b..c224e4d95 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -10222,7 +10222,7 @@ int buildin_npcshopdelitem(struct script_state *st)
i++;
}
- size = 0;
+ size = n = 0;
while (nd->u.shop_item[n].nameid)
size++;