summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.h
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-05-12 04:14:27 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-05-15 14:11:50 +0100
commitcbb52e4a65af5f84a7be74ce032b9a1da90da469 (patch)
tree9945356565adba40ee19624ffd2f9398745c31f2 /crawl-ref/source/player.h
parent5487ac093f68aeb255a6fe379f966b22b08e474e (diff)
downloadcrawl-ref-cbb52e4a65af5f84a7be74ce032b9a1da90da469.tar.gz
crawl-ref-cbb52e4a65af5f84a7be74ce032b9a1da90da469.zip
Cap sustain abilities at 1 level
Two levels of sustain abilities is very rarely relevant, and isn't something that makes for an interesting multi-level resist.
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r--crawl-ref/source/player.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h
index 9e1ec38c91..a69a950afe 100644
--- a/crawl-ref/source/player.h
+++ b/crawl-ref/source/player.h
@@ -913,7 +913,7 @@ int player_speed(void);
int player_spell_levels(void);
-int player_sust_abil(bool calc_unid = true);
+bool player_sust_abil(bool calc_unid = true);
int player_teleport(bool calc_unid = true);