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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 5adb01c171..77aa6e33c5 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -626,8 +626,8 @@ void you_teleport(void)
void you_teleport2( bool allow_control, bool new_abyss_area )
{
bool is_controlled = (allow_control && !you.conf
- && player_control_teleport()
- && allow_control_teleport());
+ && player_control_teleport()
+ && allow_control_teleport());
if (scan_randarts(RAP_PREVENT_TELEPORTATION))
{