summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.h
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-19 15:19:41 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-19 15:19:41 -0600
commit60dd85a9c96f46bef45110a1990bb870da9f6987 (patch)
tree160a8d3567dc17e5002b20ba73994207a3713434 /crawl-ref/source/mon-util.h
parent6b87b7db8e71224fa04777ededa5719b8d0a76a7 (diff)
downloadcrawl-ref-60dd85a9c96f46bef45110a1990bb870da9f6987.tar.gz
crawl-ref-60dd85a9c96f46bef45110a1990bb870da9f6987.zip
Convert mons_has_los_ability() to use monster_type instead of int.
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r--crawl-ref/source/mon-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h
index aab07da8c6..0f35d19e26 100644
--- a/crawl-ref/source/mon-util.h
+++ b/crawl-ref/source/mon-util.h
@@ -591,7 +591,7 @@ bool ms_quick_get_away(const monsters *mon, spell_type monspell);
bool ms_waste_of_time(const monsters *mon, spell_type monspell);
bool ms_low_hitpoint_cast(const monsters *mon, spell_type monspell);
-bool mons_has_los_ability(int mclass);
+bool mons_has_los_ability(monster_type mon_type);
bool mons_has_los_attack(const monsters *mon);
bool mons_has_ranged_spell(const monsters *mon, bool attack_only = false,
bool ench_too = true);