diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-05 14:06:26 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-05 14:06:26 +0000 |
commit | 376d7d8be0443ac004a1fe5d88f56325497d1921 (patch) | |
tree | d62c43ed0b1f20302776380fdd15eb53c7c65459 /crawl-ref/source/terrain.cc | |
parent | 55812ea322d83879cd9ed09d27f18ab2d0345def (diff) | |
download | crawl-ref-376d7d8be0443ac004a1fe5d88f56325497d1921.tar.gz crawl-ref-376d7d8be0443ac004a1fe5d88f56325497d1921.zip |
Slight cleanup of randart autoinscription.
Code cleanup with unrandarts and fixedarts. Bugfix for isomorphic-up-to-colour
unrandarts being confused when lost in the Abyss.
Trowel will not clobber critical features (stairs, portals, etc.)
Nemelex is unhappy about Trowel failing.
Breaks savefiles.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3003 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/terrain.cc')
-rw-r--r-- | crawl-ref/source/terrain.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/terrain.cc b/crawl-ref/source/terrain.cc index 8c9e122944..fd0a9e0ff6 100644 --- a/crawl-ref/source/terrain.cc +++ b/crawl-ref/source/terrain.cc @@ -333,7 +333,7 @@ static bool dgn_shift_item(const coord_def &pos, item_def &item) return (false); } -static bool is_critical_feature(dungeon_feature_type feat) +bool is_critical_feature(dungeon_feature_type feat) { return (grid_stair_direction(feat) != CMD_NO_CMD || grid_altar_god(feat) != GOD_NO_GOD); |