From 86b2a07772af036bd6f6d3252ba18af0d6a3cd71 Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Fri, 13 Nov 2009 23:26:32 +1000 Subject: Move duplicated can_hibernate code into actor. --- crawl-ref/source/actor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/actor.h') diff --git a/crawl-ref/source/actor.h b/crawl-ref/source/actor.h index 10dd3f7bda..72c5057e71 100644 --- a/crawl-ref/source/actor.h +++ b/crawl-ref/source/actor.h @@ -157,7 +157,7 @@ public: virtual void confuse(actor *attacker, int strength) = 0; virtual void expose_to_element(beam_type element, int strength = 0) = 0; virtual void drain_stat(int stat, int amount, actor* attacker) { } - virtual bool can_hibernate(bool holi_only = false) const = 0; + virtual bool can_hibernate(bool holi_only = false) const; virtual void hibernate(int power = 0) = 0; virtual void check_awaken(int disturbance) = 0; -- cgit v1.2.3-54-g00ecf