summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2018-07-17 19:33:32 +0100
committerAsheraf <acheraf1998@gmail.com>2018-07-24 14:21:01 +0100
commit0ad1e08ee15ac0112cad6d94e67584a5ce571c53 (patch)
tree26c5499cd4684f736bf5e8d986ce12d35fe474a2 /src/map/atcommand.c
parent504ad2ca7d6ef4923093f74ac2afd5fc1bd39fd1 (diff)
downloadhercules-0ad1e08ee15ac0112cad6d94e67584a5ce571c53.tar.gz
hercules-0ad1e08ee15ac0112cad6d94e67584a5ce571c53.tar.bz2
hercules-0ad1e08ee15ac0112cad6d94e67584a5ce571c53.tar.xz
hercules-0ad1e08ee15ac0112cad6d94e67584a5ce571c53.zip
Correct wrong attribute used for pet evolution egg hiding
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 79bd92213..3ec709b57 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -4222,6 +4222,8 @@ ACMD(repairall)
count = 0;
for (i = 0; i < MAX_INVENTORY; i++) {
+ if (sd->status.inventory[i].card[0] == CARD0_PET)
+ continue;
if (sd->status.inventory[i].nameid && (sd->status.inventory[i].attribute & ATTR_BROKEN) != 0) {
sd->status.inventory[i].attribute |= ATTR_BROKEN;
sd->status.inventory[i].attribute ^= ATTR_BROKEN;