summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/viewgeom.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-05-09 20:24:33 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-05-09 20:26:49 +0200
commitbff156f45b120773a8c36195c0fac5204e579e37 (patch)
treede26cfb10fc7c84d3e026c0804a53bad955132d6 /crawl-ref/source/viewgeom.cc
parent786bcc93499af4d4d9639965fe1149f100bcad2d (diff)
downloadcrawl-ref-bff156f45b120773a8c36195c0fac5204e579e37.tar.gz
crawl-ref-bff156f45b120773a8c36195c0fac5204e579e37.zip
Use ZP rather than XP for Zot abilities.
The display sucks, it could be inserted into the gold_turns line, except that some heretics might have it disabled.
Diffstat (limited to 'crawl-ref/source/viewgeom.cc')
-rw-r--r--crawl-ref/source/viewgeom.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/viewgeom.cc b/crawl-ref/source/viewgeom.cc
index aa79a968d5..d816dbbf3b 100644
--- a/crawl-ref/source/viewgeom.cc
+++ b/crawl-ref/source/viewgeom.cc
@@ -372,7 +372,8 @@ void crawl_view_geometry::init_geometry()
{
termsz = coord_def(get_number_of_cols(), get_number_of_lines());
hudsz = coord_def(HUD_WIDTH,
- HUD_HEIGHT + (Options.show_gold_turns ? 1 : 0));
+ HUD_HEIGHT + (Options.show_gold_turns ? 1 : 0)
+ + crawl_state.game_is_zotdef());
const _inline_layout lay_inline(termsz, hudsz);
const _mlist_col_layout lay_mlist(termsz, hudsz);