summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-13 10:45:43 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-13 10:45:43 +0000
commit74b5927330e0be611ff14cc7bcebff9f2c536f59 (patch)
tree8bef13d90066a6cbfc04fbddbd1a540d53073801 /src
parentf691773ddb5463b339093170e0f50a067a100f1c (diff)
downloadhercules-74b5927330e0be611ff14cc7bcebff9f2c536f59.tar.gz
hercules-74b5927330e0be611ff14cc7bcebff9f2c536f59.tar.bz2
hercules-74b5927330e0be611ff14cc7bcebff9f2c536f59.tar.xz
hercules-74b5927330e0be611ff14cc7bcebff9f2c536f59.zip
Another mistake.. shit
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7126 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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 e452864bb..fa61ab6b1 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -10209,7 +10209,7 @@ int buildin_npcshopdelitem(struct script_state *st)
nd = npc_name2id(npcname);
if (nd && nd->bl.subtype==SHOP) {
- while (nd->u.shop_item[n].nameid)
+ while (nd->u.shop_item[size].nameid)
size++;
while (st->end > st->start+i) {