replace some trap function result magic numbers
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user