trap magic number follow-up

This commit is contained in:
nhmall
2022-02-08 19:29:27 -05:00
parent 947d80ec6f
commit 2c7fa4a704
2 changed files with 50 additions and 50 deletions

View File

@@ -83,7 +83,7 @@ enum trap_types {
};
/* some trap-related function return results */
enum { Trap_No_Effect = 0, Trap_Is_Gone = 0, Trap_Killed_Mon = 2 };
enum { Trap_Effect_Finished = 0, Trap_Is_Gone = 0, Trap_Killed_Mon = 2 };
#define is_pit(ttyp) ((ttyp) == PIT || (ttyp) == SPIKED_PIT)
#define is_hole(ttyp) ((ttyp) == HOLE || (ttyp) == TRAPDOOR)