Use is_pit macro to check for (spiked) pit
This commit is contained in:
@@ -83,4 +83,6 @@ enum trap_types {
|
||||
TRAPNUM
|
||||
};
|
||||
|
||||
#define is_pit(ttyp) ((ttyp) == PIT || (ttyp) == SPIKED_PIT)
|
||||
|
||||
#endif /* TRAP_H */
|
||||
|
||||
Reference in New Issue
Block a user