summaryrefslogtreecommitdiff
path: root/src/map/itemdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r--src/map/itemdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index 63aaa0bcf..32a8f7d48 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -125,9 +125,9 @@ int itemdb_group_bonus(struct map_session_data *sd, int itemid)
continue;
for (j=0; j < itemgroup_db[i].qty; j++) {
if (itemgroup_db[i].nameid[j] == itemid)
- {
+ {
bonus += sd->itemgrouphealrate[i];
- continue;
+ break;
}
}
}