diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-17 08:59:19 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-17 09:09:43 +0200 |
commit | 91480fa09bfd0c7e937cdf0b29360c9e10413f62 (patch) | |
tree | 8de9cb01752af154a93f3060e8163f08cefb1a0c /crawl-ref/source/overmap.cc | |
parent | dcc94e4df24a1111124d87532aaa263f55edf58d (diff) | |
download | crawl-ref-91480fa09bfd0c7e937cdf0b29360c9e10413f62.tar.gz crawl-ref-91480fa09bfd0c7e937cdf0b29360c9e10413f62.zip |
More renaming and reorganization of feature checks.
There were a couple of functions is_something(dgn_feature_type feat)
defined in travel.cc that were otherwise independent of travel. For
consistency, move these to terrain.cc and rename to feat_is_something.
One might also consider renaming the various feat_is_whatever functions
to just is_whatever.
Diffstat (limited to 'crawl-ref/source/overmap.cc')
-rw-r--r-- | crawl-ref/source/overmap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/overmap.cc b/crawl-ref/source/overmap.cc index 0a7cad42b9..a56a2bcc73 100644 --- a/crawl-ref/source/overmap.cc +++ b/crawl-ref/source/overmap.cc @@ -772,7 +772,7 @@ void annotate_level() level_id li = level_id::current(); level_id li2 = level_id::current(); - if (is_stair(grd(you.pos()))) + if (feat_is_stair(grd(you.pos()))) { li2 = level_id::get_next_level_id(you.pos()); |