diff options
-rw-r--r-- | src/map/script.c | 2 |
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++;
|