summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index e02c28e6e7..6dc93fb6f4 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6346,9 +6346,10 @@ int player::melee_evasion(const actor *act, ev_ignore_type evit) const
&& !is_run_delay(current_delay_action())? 5 : 0));
}
-void player::heal(int amount, bool max_too)
+bool player::heal(int amount, bool max_too)
{
::inc_hp(amount, max_too);
+ return true; /* TODO Check whether the player was healed. */
}
mon_holy_type player::holiness() const