summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-03 00:28:09 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-03 00:28:09 +0000
commit8e5c98fdea2404a741f67eca776616ba32fe04cc (patch)
treef4eefd958fd093ef26843981be8d32f835f1ddb3 /crawl-ref/source/monstuff.h
parent229273780df2b6cd56ba0675538a9ae4307f9804 (diff)
downloadcrawl-ref-8e5c98fdea2404a741f67eca776616ba32fe04cc.tar.gz
crawl-ref-8e5c98fdea2404a741f67eca776616ba32fe04cc.zip
When drawing a damaging card, set the beam range to LOS_RADIUS.
Remove unused function hurt_monster(). In monsters::hurt() if, after hurting the monster, hit_points > max_hit_points, then hurt the monster some more until hit_points == max_hit_points. Use monsers::hurt() instead of directly descreasing the hit_points member. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8145 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.h')
-rw-r--r--crawl-ref/source/monstuff.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/monstuff.h b/crawl-ref/source/monstuff.h
index 8916801a6e..f362d867b4 100644
--- a/crawl-ref/source/monstuff.h
+++ b/crawl-ref/source/monstuff.h
@@ -195,8 +195,6 @@ unsigned int monster_index(const monsters *monster);
void mons_get_damage_level(const monsters*, std::string& desc,
mon_dam_level_type&);
-int hurt_monster(monsters *victim, int damage_dealt);
-
bool heal_monster(monsters *patient, int health_boost, bool permit_growth);
void seen_monster(monsters *monster);