summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-04-14 14:46:24 +0200
committerRobert Vollmert <rvollmert@gmx.net>2010-04-14 15:18:46 +0200
commitcea96c26d7185e3e46af5ff9497a6a240bd1a2a0 (patch)
treee1cc50edf7737483190e1d2723b4d88aa24f34ac /crawl-ref/source/fight.h
parente2c10d8fc5747b45025b8a48d6c3aa7b9300d6d3 (diff)
downloadcrawl-ref-cea96c26d7185e3e46af5ff9497a6a240bd1a2a0.tar.gz
crawl-ref-cea96c26d7185e3e46af5ff9497a6a240bd1a2a0.zip
Weapon parameter for calc_your_attack_delay.
Diffstat (limited to 'crawl-ref/source/fight.h')
-rw-r--r--crawl-ref/source/fight.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.h b/crawl-ref/source/fight.h
index 96b76f70cb..5b8adc2724 100644
--- a/crawl-ref/source/fight.h
+++ b/crawl-ref/source/fight.h
@@ -64,7 +64,7 @@ bool monsters_fight(monsters* attacker, monsters* attacked,
bool wielded_weapon_check(item_def *weapon, bool no_message = false);
int calc_your_to_hit(bool random_factor);
int calc_heavy_armour_penalty(bool random_factor);
-int calc_your_attack_delay(random_type rand);
+int calc_your_attack_delay(random_type rand, const item_def* weapon = NULL);
unchivalric_attack_type is_unchivalric_attack(const actor *attacker,
const actor *defender);