summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2012-04-08 20:40:59 +0200
committerRaphael Langella <raphael.langella@gmail.com>2012-04-09 22:56:48 +0200
commit40af826a3fffba1ef56713da872cdbf9147f64cc (patch)
treea4815b2701f50ebf65b6117d519c6d1a2506a8f8 /crawl-ref/source/fight.h
parent54017833a488bbb59cb50aba4f54dd1f5c4a9ee8 (diff)
downloadcrawl-ref-40af826a3fffba1ef56713da872cdbf9147f64cc.tar.gz
crawl-ref-40af826a3fffba1ef56713da872cdbf9147f64cc.zip
Fix an ugly hack.
Diffstat (limited to 'crawl-ref/source/fight.h')
-rw-r--r--crawl-ref/source/fight.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.h b/crawl-ref/source/fight.h
index 1a05bf2677..88e2dfea1f 100644
--- a/crawl-ref/source/fight.h
+++ b/crawl-ref/source/fight.h
@@ -25,7 +25,8 @@ enum unchivalric_attack_type
UCAT_ALLY,
};
-bool fight_melee(actor *attacker, actor *defender, bool *did_hit = NULL);
+bool fight_melee(actor *attacker, actor *defender, bool *did_hit = NULL,
+ bool simu = false);
int resist_adjust_damage(actor *defender, beam_type flavour,
int res, int rawdamage, bool ranged = false);