summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatheus Macabu <mkbu95@gmail.com>2013-07-05 18:26:06 -0300
committerMatheus Macabu <mkbu95@gmail.com>2013-07-05 18:26:06 -0300
commit3fd6437cc84cbb87f27bd43f990d468623a2a49e (patch)
tree4f034c92dee4b566462da766f6f59d64ce1cd29b
parentea5a413cdf7eec37141a7fe124cad38d66464ac4 (diff)
downloadhercules-3fd6437cc84cbb87f27bd43f990d468623a2a49e.tar.gz
hercules-3fd6437cc84cbb87f27bd43f990d468623a2a49e.tar.bz2
hercules-3fd6437cc84cbb87f27bd43f990d468623a2a49e.tar.xz
hercules-3fd6437cc84cbb87f27bd43f990d468623a2a49e.zip
Ind fixed a bug where Old Blue Box was only giving out equipments. All credits to him.
Signed-off-by: shennetsind <ind@henn.et> Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
-rw-r--r--src/map/itemdb.c2
1 files changed, 1 insertions, 1 deletions
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);