diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-25 13:49:52 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-25 13:49:52 +0000 |
commit | 4c56ab40290b29a37eefb46230e987ed6028ce4f (patch) | |
tree | c8def6cbd1815dc55cd132c99c98ed99ce9d20ac /crawl-ref/source/initfile.cc | |
parent | bdb45bf27b86ff63c5afdff311b4065c83faf37d (diff) | |
download | crawl-ref-4c56ab40290b29a37eefb46230e987ed6028ce4f.tar.gz crawl-ref-4c56ab40290b29a37eefb46230e987ed6028ce4f.zip |
Applied whereis patch from crawl.akrasiac.org (tracks where the player is in
the dungeon).
All dgamelaunch patches are conditionalised by DGL_foo #ifdefs.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1096 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r-- | crawl-ref/source/initfile.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index b2605acc73..5eff2da5c6 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -550,7 +550,7 @@ void game_options::reset_options() player_name.clear(); -#ifdef SIMPLE_MESSAGING +#ifdef DGL_SIMPLE_MESSAGING messaging = true; #endif @@ -1829,7 +1829,7 @@ void game_options::read_option_line(const std::string &str, bool runscript) { autopickup_no_burden = read_bool( field, autopickup_no_burden ); } -#ifdef SIMPLE_MESSAGING +#ifdef DGL_SIMPLE_MESSAGING else if (key == "messaging") { messaging = read_bool(field, messaging); @@ -2372,8 +2372,8 @@ void get_system_environment(void) // This should end with the appropriate path delimiter. SysEnv.crawl_dir = getenv("CRAWL_DIR"); -#ifdef SIMPLE_MESSAGING - // Enable SIMPLE_MESSAGING only if SIMPLEMAIL and MAIL are set. +#ifdef DGL_SIMPLE_MESSAGING + // Enable DGL_SIMPLE_MESSAGING only if SIMPLEMAIL and MAIL are set. const char *simplemail = getenv("SIMPLEMAIL"); if (simplemail && strcmp(simplemail, "0")) { |