summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.h
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-07-26 11:27:59 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-07-26 11:27:59 -0700
commit93bd6f3c9f6481f10147fec7257468db2825c310 (patch)
tree680712d63f9600b17c8e9318e7fdc70a2b44f544 /crawl-ref/source/fight.h
parent75e7cd9dc1480d4807cf43561142ec1e4129e227 (diff)
downloadcrawl-ref-93bd6f3c9f6481f10147fec7257468db2825c310.tar.gz
crawl-ref-93bd6f3c9f6481f10147fec7257468db2825c310.zip
Comment and constify get_resistible_fraction()
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 ec5295a064..709a26cc08 100644
--- a/crawl-ref/source/fight.h
+++ b/crawl-ref/source/fight.h
@@ -33,7 +33,7 @@ bool fight_jump(actor *attacker, actor *defender, coord_def attack_pos,
coord_def landing_pos, set<coord_def> landing_sites,
bool jump_blocked, bool *did_hit = NULL);
-int resist_adjust_damage(actor *defender, beam_type flavour,
+int resist_adjust_damage(const actor *defender, beam_type flavour,
int res, int rawdamage, bool ranged = false);
bool wielded_weapon_check(item_def *weapon, bool no_message = false);