summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2012-03-07 17:22:54 +0100
committerRaphael Langella <raphael.langella@gmail.com>2012-03-07 17:27:47 +0100
commit7770cf6338333acbd1451460c694316cf6898524 (patch)
treeefd84d9526674f6905cc3655df3a271797c65ce7 /crawl-ref/source/fight.h
parent6b03a9fd0f10d72b10a8486b4880da56c2d21f8d (diff)
downloadcrawl-ref-7770cf6338333acbd1451460c694316cf6898524.tar.gz
crawl-ref-7770cf6338333acbd1451460c694316cf6898524.zip
Fix the accuracy calculation of fsim melee.
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 501e8e4bac..841e37ca5e 100644
--- a/crawl-ref/source/fight.h
+++ b/crawl-ref/source/fight.h
@@ -25,7 +25,7 @@ enum unchivalric_attack_type
UCAT_ALLY,
};
-bool fight_melee(actor *attacker, actor *defender);
+bool fight_melee(actor *attacker, actor *defender, bool *did_hit = NULL);
int effective_stat_bonus(int wepType = -1);