From b16b25683f1733cdea0214e7914218d40b3b518f Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Wed, 2 Dec 2009 13:18:34 +1000 Subject: Wizard-mode controlled teleport (Ctrl-B). Instantaneous, non-contaminating controlled teleport. Bypasses FPROP_NO_CTELE_INTO as well as -TELE artefacts. --- crawl-ref/source/player.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/player.h') diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h index b255150950..0e1376bd78 100644 --- a/crawl-ref/source/player.h +++ b/crawl-ref/source/player.h @@ -426,7 +426,9 @@ public: void backlight(); void banish(const std::string &who = ""); void blink(bool allow_partial_control = true); - void teleport(bool right_now = false, bool abyss_shift = false); + void teleport(bool right_now = false, + bool abyss_shift = false, + bool wizard = false); void drain_stat(int stat, int amount, actor* attacker); void expose_to_element(beam_type element, int strength = 0); -- cgit v1.2.3-54-g00ecf