diff --git a/include/trap.h b/include/trap.h index 0d786b550..a0592f7e1 100644 --- a/include/trap.h +++ b/include/trap.h @@ -123,6 +123,6 @@ enum trap_immunities { /* "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)) + && isok((t)->teledest.x,(t)->teledest.y)) #endif /* TRAP_H */