|
@@ -5925,8 +5925,8 @@ int atcommand_repairall(
|
|
|
|
|
|
count = 0;
|
|
count = 0;
|
|
for (i = 0; i < MAX_INVENTORY; i++) {
|
|
for (i = 0; i < MAX_INVENTORY; i++) {
|
|
- if (sd->status.inventory[i].nameid && sd->status.inventory[i].broken == 1) {
|
|
|
|
- sd->status.inventory[i].broken = 0;
|
|
|
|
|
|
+ if (sd->status.inventory[i].nameid && sd->status.inventory[i].attribute == 1) {
|
|
|
|
+ sd->status.inventory[i].attribute = 0;
|
|
clif_produceeffect(sd, 0, sd->status.inventory[i].nameid);
|
|
clif_produceeffect(sd, 0, sd->status.inventory[i].nameid);
|
|
count++;
|
|
count++;
|
|
}
|
|
}
|