From 4c56ab40290b29a37eefb46230e987ed6028ce4f Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sun, 25 Mar 2007 13:49:52 +0000 Subject: 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 --- crawl-ref/source/initfile.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/initfile.cc') 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")) { -- cgit v1.2.3-54-g00ecf