From 78bf0db5b36d56dc7ccdd1374721c6eb3a1f4891 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sat, 15 Jun 2024 19:04:57 +0300 Subject: [PATCH] Fix copypaste error --- include/trap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */