diff options
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 8a9fa9c19..3865b55a0 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -13750,7 +13750,7 @@ void skill_repairweapon (struct map_session_data *sd, int idx) return; } - if ( sd->inventory_data[idx]->type == IT_WEAPON) + if ( target_sd->inventory_data[idx]->type == IT_WEAPON) material = materials [itemdb_wlv(item->nameid)-1]; // Lv1/2/3/4 weapons consume 1 Iron Ore/Iron/Steel/Rough Oridecon else material = materials [2]; // Armors consume 1 Steel |