From 3fd6437cc84cbb87f27bd43f990d468623a2a49e Mon Sep 17 00:00:00 2001 From: Matheus Macabu Date: Fri, 5 Jul 2013 18:26:06 -0300 Subject: Ind fixed a bug where Old Blue Box was only giving out equipments. All credits to him. Signed-off-by: shennetsind Signed-off-by: Matheus Macabu --- src/map/itemdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/itemdb.c b/src/map/itemdb.c index 7b6fd0ed7..87ba90410 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -670,7 +670,7 @@ void itemdb_read_groups(void) { data->group = &itemdb->groups[count]; itemdb->groups[count].id = data->nameid; - itemdb->groups[count].qty = config_setting_length(itg); + itemdb->groups[count].qty = gsize[ count ]; CREATE(itemdb->groups[count].nameid, unsigned short, gsize[ count ] + 1); -- cgit v1.2.3-60-g2f50