replace some trap function result magic numbers

This commit is contained in:
nhmall
2022-02-08 19:16:42 -05:00
parent fe03b10208
commit 947d80ec6f
8 changed files with 80 additions and 76 deletions

View File

@@ -509,7 +509,7 @@ use_magic_whistle(struct obj *obj)
mtmp->mundetected = 0; /* reveal non-mimic hider */
if (canspotmon(mtmp))
++pet_cnt;
if (mintrap(mtmp) == 2)
if (mintrap(mtmp) == Trap_Killed_Mon)
change_luck(-1);
}
}