Browse Source

Fix

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7122 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lance 19 years ago
parent
commit
161ef37fc6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/map/script.c

+ 1 - 1
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++;