From e3b9c008260f53de7d6daf81fd3eb19feb6d7369 Mon Sep 17 00:00:00 2001 From: cohrs Date: Mon, 4 Nov 2002 22:11:35 +0000 Subject: [PATCH] B13009 - Teleport Control and confusion Only allow level teleports to be controlled when not confused, just like regular teleports. --- doc/fixes34.1 | 1 + src/teleport.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/fixes34.1 b/doc/fixes34.1 index 537e04e72..05fd7a420 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -294,6 +294,7 @@ cancelled yellow lights should not explode against other monsters, as well as not exploding against you becoming confused, eg from nausia, while reading a spellbook should result in the usual confusion effects +level teleports should not be controlled if you're confused Platform- and/or Interface-Specific Fixes diff --git a/src/teleport.c b/src/teleport.c index af1dc7aec..0fde69e09 100644 --- a/src/teleport.c +++ b/src/teleport.c @@ -556,7 +556,7 @@ level_tele() You_feel("very disoriented for a moment."); return; } - if (Teleport_control + if ((Teleport_control && !Confusion) #ifdef WIZARD || wizard #endif