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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index ebb8e10058..eebf92f4e6 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -7007,9 +7007,9 @@ void player::rot(actor *who, int amount, int immediate)
disease_player(50 + random2(100));
}
-void player::drain_exp(actor *who)
+bool player::drain_exp(actor *who)
{
- ::drain_exp();
+ return (::drain_exp());
}
void player::confuse(actor *who, int str)