diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-05-06 02:50:59 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-05-06 03:12:17 +0100 |
commit | 3a14522c49abf2cd42405c9fc7f3b5b17448af31 (patch) | |
tree | 2462858c2bfb6a5df1904c87e1de9df1f29d89ba /crawl-ref/source/player-reacts.cc | |
parent | 919da3eea61f451474ccaf631c3a6026ac1f3f96 (diff) | |
download | crawl-ref-3a14522c49abf2cd42405c9fc7f3b5b17448af31.tar.gz crawl-ref-3a14522c49abf2cd42405c9fc7f3b5b17448af31.zip |
Don't allow controlling teleportitis teleports
Diffstat (limited to 'crawl-ref/source/player-reacts.cc')
-rw-r--r-- | crawl-ref/source/player-reacts.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/player-reacts.cc b/crawl-ref/source/player-reacts.cc index 9ae7476d29..a706608abf 100644 --- a/crawl-ref/source/player-reacts.cc +++ b/crawl-ref/source/player-reacts.cc @@ -1259,9 +1259,9 @@ void player_reacts() if (teleportitis_level > 0 && one_chance_in(100 / teleportitis_level)) { if (teleportitis_level >= 8) - you_teleport_now(true); + you_teleport_now(false); else - you_teleport_now(true, false, teleportitis_level * 5); + you_teleport_now(false, false, teleportitis_level * 5); } else if (player_in_branch(BRANCH_ABYSS) && one_chance_in(80) && (!map_masked(you.pos(), MMT_VAULT) || one_chance_in(3))) |