summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-30 07:00:01 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-30 07:00:01 +0000
commitbc21b45fa2e431dab77fe02741769061a6fcb9e4 (patch)
treea37873913323aa264e23fea273cf560e19af13e5 /crawl-ref/source/acr.cc
parent9f10a66a73b3fe9ec1e575897acc4c03d90e98fe (diff)
downloadcrawl-ref-bc21b45fa2e431dab77fe02741769061a6fcb9e4.tar.gz
crawl-ref-bc21b45fa2e431dab77fe02741769061a6fcb9e4.zip
[1624529] Added display of turns used in main play screen. Zero-based, which
may seem odd to some players, but I like it. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@735 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 5a3a678895..7b109730ee 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -2089,7 +2089,10 @@ static void world_reacts()
bool its_quiet; //jmf: for silence messages
if (you.num_turns != -1)
+ {
you.num_turns++;
+ update_turn_count();
+ }
run_environment_effects();
@@ -2758,6 +2761,7 @@ static bool initialise(void)
draw_border();
new_level();
+ update_turn_count();
init_new_level(false);
// Mark items in inventory as of unknown origin.