summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.h
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2010-01-03 22:30:38 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2010-01-03 23:54:24 +1000
commit865ad15a82f21145b5623417549107317cb44b5b (patch)
treeaaf4bc18e85aca4ce5650d0de34e58c477ddc644 /crawl-ref/source/monster.h
parent12e2dc2661d4ecb2344b75a2fd9d6f4a4dcdc1a2 (diff)
downloadcrawl-ref-865ad15a82f21145b5623417549107317cb44b5b.tar.gz
crawl-ref-865ad15a82f21145b5623417549107317cb44b5b.zip
Fix put_to_sleep, implement for monsters.
Diffstat (limited to 'crawl-ref/source/monster.h')
-rw-r--r--crawl-ref/source/monster.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/monster.h b/crawl-ref/source/monster.h
index b93ed65571..bae6cb4711 100644
--- a/crawl-ref/source/monster.h
+++ b/crawl-ref/source/monster.h
@@ -394,6 +394,7 @@ public:
bool wizard_tele = false);
void hibernate(int power = 0);
+ void put_to_sleep(actor *attacker, int power = 0);
void check_awaken(int disturbance);
int stat_hp() const { return hit_points; }