diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-17 07:51:25 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-17 07:51:25 +0200 |
commit | dcc94e4df24a1111124d87532aaa263f55edf58d (patch) | |
tree | df911326b4c245006eb94761f76e1af4093bd2fc /crawl-ref/source/stash.cc | |
parent | 4b9dbd4fc204e70ef70f57ec0096981787844f82 (diff) | |
download | crawl-ref-dcc94e4df24a1111124d87532aaa263f55edf58d.tar.gz crawl-ref-dcc94e4df24a1111124d87532aaa263f55edf58d.zip |
Naming consistency.
Mostly rename functions from terrain.h that accept features of typ
dgn_feature_type from grid_is_* to feat_is_*.
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r-- | crawl-ref/source/stash.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc index 6eb97aba92..c74e144a98 100644 --- a/crawl-ref/source/stash.cc +++ b/crawl-ref/source/stash.cc @@ -312,7 +312,7 @@ bool Stash::is_boring_feature(dungeon_feature_type feat) case DNGN_UNDISCOVERED_TRAP: return (true); default: - return (grid_is_solid(feat)); + return (feat_is_solid(feat)); } } @@ -349,7 +349,7 @@ void Stash::update() if (is_boring_feature(feat)) feat = DNGN_FLOOR; - if (grid_is_trap(feat)) + if (feat_is_trap(feat)) trap = get_trap_type(p); // If this is your position, you know what's on this square |