summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-util.cc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-03-02 15:06:41 -0600
committerJesse Luehrs <doy@tozt.net>2010-03-02 16:23:48 -0600
commit291d2fa7b3d601c610d70768a8bccad58ed561b9 (patch)
tree3511d3a622e8b299050af6403beb925bc1ae3080 /crawl-ref/source/dbg-util.cc
parentd4b735c4c4702c5b3dc3b141ba77f21b14a6b30f (diff)
downloadcrawl-ref-291d2fa7b3d601c610d70768a8bccad58ed561b9.tar.gz
crawl-ref-291d2fa7b3d601c610d70768a8bccad58ed561b9.zip
make 'game type' an enum rather than a bool, and serialize it
Diffstat (limited to 'crawl-ref/source/dbg-util.cc')
-rw-r--r--crawl-ref/source/dbg-util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dbg-util.cc b/crawl-ref/source/dbg-util.cc
index a948aa2e57..e4951e019f 100644
--- a/crawl-ref/source/dbg-util.cc
+++ b/crawl-ref/source/dbg-util.cc
@@ -65,7 +65,7 @@ monster_type debug_prompt_for_monster(void)
void debug_dump_levgen()
{
- if (crawl_state.arena)
+ if (crawl_state.game_is_arena())
return;
CrawlHashTable &props = env.properties;