summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-12-12 00:35:20 +0100
committerAdam Borowski <kilobyte@angband.pl>2010-12-12 00:35:20 +0100
commitbc9e9f380e904300572398d676a95e4b359276b7 (patch)
treee04eb3fd59a18099b8bf6fae8effb91a53eb9dbd /crawl-ref/source/state.cc
parentbf51478a1c49fbd4bb8806f02b5c162b6e1cebac (diff)
parentdea893dd22a77940713b02c6362c4f1db46e78a7 (diff)
downloadcrawl-ref-bc9e9f380e904300572398d676a95e4b359276b7.tar.gz
crawl-ref-bc9e9f380e904300572398d676a95e4b359276b7.zip
Merge branch 'master' into unicode
Diffstat (limited to 'crawl-ref/source/state.cc')
-rw-r--r--crawl-ref/source/state.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/state.cc b/crawl-ref/source/state.cc
index 287c34adcc..79b5fff3c1 100644
--- a/crawl-ref/source/state.cc
+++ b/crawl-ref/source/state.cc
@@ -529,6 +529,11 @@ bool game_state::player_is_dead() const
return (updating_scores && !need_save);
}
+bool game_state::game_standard_levelgen() const
+{
+ return (game_is_normal() || game_is_hints());
+}
+
bool game_state::game_is_normal() const
{
ASSERT(type < NUM_GAME_TYPE);