From 0ad1e08ee15ac0112cad6d94e67584a5ce571c53 Mon Sep 17 00:00:00 2001 From: Asheraf Date: Tue, 17 Jul 2018 19:33:32 +0100 Subject: Correct wrong attribute used for pet evolution egg hiding --- src/map/atcommand.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/atcommand.c') 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; -- cgit v1.2.3-70-g09d2