summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 3a00fd310d..9cb7ac7434 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -1238,7 +1238,7 @@ void you_teleport(void)
static bool _teleport_player( bool allow_control, bool new_abyss_area )
{
- bool is_controlled = (allow_control && !you.duration[DUR_CONF]
+ bool is_controlled = (allow_control && !you.confused()
&& player_control_teleport()
&& allow_control_teleport());