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/actor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/actor.h') diff --git a/crawl-ref/source/actor.h b/crawl-ref/source/actor.h index a4d76ef56e..4d2fa2834d 100644 --- a/crawl-ref/source/actor.h +++ b/crawl-ref/source/actor.h @@ -153,7 +153,9 @@ public: virtual bool heal(int amount, bool max_too = false) = 0; virtual void banish(const std::string &who = "") = 0; virtual void blink(bool allow_partial_control = true) = 0; - virtual void teleport(bool right_now = false, bool abyss_shift = false) = 0; + virtual void teleport(bool right_now = false, + bool abyss_shift = false, + bool wizard = false) = 0; virtual void poison(actor *attacker, int amount = 1) = 0; virtual bool sicken(int amount) = 0; virtual void paralyse(actor *attacker, int strength) = 0; -- cgit v1.2.3-54-g00ecf