Fix item_combo who wasn't checking for different index in case of same item required for combo (e.g 2890:2890,{ bonus bAgi,10; })

This commit is contained in:
lighta 2013-12-03 12:22:00 -05:00 committed by nanakiwurtz
parent 2755164385
commit 78a4782abb

View File

@ -8496,6 +8496,7 @@ int pc_checkcombo(struct map_session_data *sd, struct item_data *data) {
continue;
}
int *combo_idx = aMalloc(data->combos[i]->count);
for( j = 0; j < data->combos[i]->count; j++ ) {
int id = data->combos[i]->nameid[j];
bool found = false;