From 78a4782abb244bd1dd5ffd66c030e78d903dd059 Mon Sep 17 00:00:00 2001 From: lighta Date: Tue, 3 Dec 2013 12:22:00 -0500 Subject: [PATCH] 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; }) --- src/map/pc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/map/pc.c b/src/map/pc.c index 6268b543dc..42238c434e 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -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;