From f858cfc60235a5cfb86dd2a2c510dde5e130a4bf Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Fri, 6 Nov 2009 13:37:03 -0600 Subject: Move checks for the berserk state into actor::berserk(). --- crawl-ref/source/actor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/actor.h') diff --git a/crawl-ref/source/actor.h b/crawl-ref/source/actor.h index 69ae5ebf79..6149207816 100644 --- a/crawl-ref/source/actor.h +++ b/crawl-ref/source/actor.h @@ -99,6 +99,7 @@ public: virtual bool cannot_fight() const = 0; virtual void attacking(actor *other) = 0; virtual bool can_go_berserk() const = 0; + virtual bool berserk() const = 0; virtual bool can_see_invisible() const = 0; virtual bool invisible() const = 0; -- cgit v1.2.3-54-g00ecf