summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/feature.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-09-25 20:02:29 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-09-25 20:02:29 +0200
commit0ea719b7a5d9cb8208d2da379bb30fd5b6b4e5f9 (patch)
tree2af1a96ce0210dda2e697e148effa34f83797c35 /crawl-ref/source/feature.cc
parenta6373e255eadfd6def971f5bc3c4df857f380afe (diff)
downloadcrawl-ref-0ea719b7a5d9cb8208d2da379bb30fd5b6b4e5f9.tar.gz
crawl-ref-0ea719b7a5d9cb8208d2da379bb30fd5b6b4e5f9.zip
Split the "magical" trap category, to allow recolouring.
Diffstat (limited to 'crawl-ref/source/feature.cc')
-rw-r--r--crawl-ref/source/feature.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/feature.cc b/crawl-ref/source/feature.cc
index 0b95abb7d0..188ca0f942 100644
--- a/crawl-ref/source/feature.cc
+++ b/crawl-ref/source/feature.cc
@@ -236,7 +236,10 @@ static void _init_feat(feature_def &f, dungeon_feature_type feat)
f.minimap = MF_TRAP;
break;
- case DNGN_TRAP_MAGICAL:
+ case DNGN_TRAP_TELEPORT:
+ case DNGN_TRAP_ALARM:
+ case DNGN_TRAP_ZOT:
+ case DNGN_PASSAGE_OF_GOLUBRIA:
f.colour = MAGENTA;
f.dchar = DCHAR_TRAP;
f.map_colour = MAGENTA;