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

@@ -99,7 +99,7 @@ kickdmg(struct monst *mon, boolean clumsy)
place_monster(mon, mdx, mdy);
newsym(mon->mx, mon->my);
set_apparxy(mon);
if (mintrap(mon) == 2)
if (mintrap(mon) == Trap_Killed_Mon)
trapkilled = TRUE;
}
}