diff options
author | Shinigami <Shinigami@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-07 07:04:17 +0000 |
---|---|---|
committer | Shinigami <Shinigami@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-07 07:04:17 +0000 |
commit | 21ec5491e964e3533a6c1ef4cde20805bdf74c2d (patch) | |
tree | 82ceb73832b237d92b4ee6de88d4756d3e084f20 /src/map | |
parent | c2ad576aa0bf396d016cd5d7657b0764cf157f5c (diff) | |
download | hercules-21ec5491e964e3533a6c1ef4cde20805bdf74c2d.tar.gz hercules-21ec5491e964e3533a6c1ef4cde20805bdf74c2d.tar.bz2 hercules-21ec5491e964e3533a6c1ef4cde20805bdf74c2d.tar.xz hercules-21ec5491e964e3533a6c1ef4cde20805bdf74c2d.zip |
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@43 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/atcommand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index e243680dd..7659983b1 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++;
}
|