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:
parent
2755164385
commit
78a4782abb
@ -8496,6 +8496,7 @@ int pc_checkcombo(struct map_session_data *sd, struct item_data *data) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int *combo_idx = aMalloc(data->combos[i]->count);
|
||||||
for( j = 0; j < data->combos[i]->count; j++ ) {
|
for( j = 0; j < data->combos[i]->count; j++ ) {
|
||||||
int id = data->combos[i]->nameid[j];
|
int id = data->combos[i]->nameid[j];
|
||||||
bool found = false;
|
bool found = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user