From 778535282914d4dadcef1bee26b44a6bb45bc69d Mon Sep 17 00:00:00 2001 From: Shinigami Date: Sun, 7 Nov 2004 07:04:17 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@43 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map/atcommand.c b/src/map/atcommand.c index e243680dd0..7659983b1b 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -5925,8 +5925,8 @@ int atcommand_repairall( count = 0; 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); count++; }