Monsters can track hero through fixed teleport traps
Also make fixed teleport traps always trigger when entered.
This commit is contained in:
@@ -122,5 +122,7 @@ enum trap_immunities {
|
||||
|| (ttyp) == POLY_TRAP)
|
||||
/* "transportation" traps */
|
||||
#define is_xport(ttyp) ((ttyp) >= TELEP_TRAP && (ttyp) <= MAGIC_PORTAL)
|
||||
#define fixed_tele_trap(t) ((t)->ttyp == TELEP_TRAP \
|
||||
&& isok((t)->teledest.x,(t)->teledest.x))
|
||||
|
||||
#endif /* TRAP_H */
|
||||
|
||||
Reference in New Issue
Block a user