summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/chardump.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-17 22:30:02 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-17 22:30:02 +0000
commite39198243f99fae49befe7489b3f16ad6556b835 (patch)
tree88a872fcf264d37908c7820ace37486b842da542 /crawl-ref/source/chardump.cc
parent48b1b54aaf8c7ccc2b016158f58cf34385dd5068 (diff)
downloadcrawl-ref-e39198243f99fae49befe7489b3f16ad6556b835.tar.gz
crawl-ref-e39198243f99fae49befe7489b3f16ad6556b835.zip
Fixed -morgue option being ignored when Crawl is built with Lua bindings (Marc).
Dropped generation odds of Pan demons post-Orb. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2011 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r--crawl-ref/source/chardump.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc
index 86104c5cc1..1805077d84 100644
--- a/crawl-ref/source/chardump.cc
+++ b/crawl-ref/source/chardump.cc
@@ -827,6 +827,7 @@ const char *hunger_level(void)
static std::string morgue_directory()
{
std::string dir =
+ !SysEnv.morgue_dir.empty() ? SysEnv.morgue_dir :
!Options.morgue_dir.empty()? Options.morgue_dir :
!SysEnv.crawl_dir.empty() ? SysEnv.crawl_dir : "";