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/items.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/items.cc')
-rw-r--r-- | crawl-ref/source/items.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc index 81e99d05a0..bf7e525761 100644 --- a/crawl-ref/source/items.cc +++ b/crawl-ref/source/items.cc @@ -960,7 +960,7 @@ static int first_corpse_monnum(int x, int y) return (0); } -#ifdef MILESTONES +#ifdef DGL_MILESTONES static std::string milestone_rune(const item_def &item) { return std::string("found ") + item_name( item, DESC_NOCAP_A ) + "."; @@ -978,7 +978,7 @@ static void milestone_check(const item_def &item) mark_milestone("orb", "found the Orb of Zot!"); } } -#endif // MILESTONES +#endif // DGL_MILESTONES void origin_set(int x, int y) { @@ -994,7 +994,7 @@ void origin_set(int x, int y) item.orig_monnum = static_cast<short>( monnum ); item.orig_place = pplace; -#ifdef MILESTONES +#ifdef DGL_MILESTONES milestone_check(item); #endif } @@ -1012,7 +1012,7 @@ void origin_freeze(item_def &item, int x, int y) if (!item.orig_monnum && x != -1 && y != -1) origin_set_monstercorpse(item, x, y); item.orig_place = get_packed_place(); -#ifdef MILESTONES +#ifdef DGL_MILESTONES milestone_check(item); #endif } |