diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-09-25 20:02:29 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-09-25 20:02:29 +0200 |
commit | 0ea719b7a5d9cb8208d2da379bb30fd5b6b4e5f9 (patch) | |
tree | 2af1a96ce0210dda2e697e148effa34f83797c35 /crawl-ref/source/viewmap.cc | |
parent | a6373e255eadfd6def971f5bc3c4df857f380afe (diff) | |
download | crawl-ref-0ea719b7a5d9cb8208d2da379bb30fd5b6b4e5f9.tar.gz crawl-ref-0ea719b7a5d9cb8208d2da379bb30fd5b6b4e5f9.zip |
Split the "magical" trap category, to allow recolouring.
Diffstat (limited to 'crawl-ref/source/viewmap.cc')
-rw-r--r-- | crawl-ref/source/viewmap.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/viewmap.cc b/crawl-ref/source/viewmap.cc index e4946ed6dd..2ddd6e5c1d 100644 --- a/crawl-ref/source/viewmap.cc +++ b/crawl-ref/source/viewmap.cc @@ -271,9 +271,12 @@ bool is_feature(ucs_t feature, const coord_def& where) switch (grid) { case DNGN_TRAP_MECHANICAL: - case DNGN_TRAP_MAGICAL: + case DNGN_TRAP_TELEPORT: + case DNGN_TRAP_ALARM: + case DNGN_TRAP_ZOT: case DNGN_TRAP_NATURAL: case DNGN_TRAP_WEB: + case DNGN_PASSAGE_OF_GOLUBRIA: return true; default: return false; |