summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-02-26 20:52:32 -0500
committerShmuale Mark <shm.mark@gmail.com>2014-05-30 13:27:44 -0400
commit5f570ca36cc6af95c23ddfda6fe1cd5efb71661a (patch)
tree407015b2b5192d7c29a8922a6f3d28a96870c01e /crawl-ref/source/directn.cc
parent82193a2d1ca3e754cd6b398177d6293ae9afde85 (diff)
downloadcrawl-ref-5f570ca36cc6af95c23ddfda6fe1cd5efb71661a.tar.gz
crawl-ref-5f570ca36cc6af95c23ddfda6fe1cd5efb71661a.zip
Remove dart traps.
They had minimal damage and mechanical traps hardly generate anywhere anyway. In ossuaries (the only vaults with them, thank god), they've been mostly replaced with arrow traps or the floor.
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index 8c3f35dbcb..16f458d8df 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -2932,8 +2932,6 @@ static string _base_feature_desc(dungeon_feature_type grid, trap_type trap)
{
switch (trap)
{
- case TRAP_DART:
- return "dart trap";
case TRAP_ARROW:
return "arrow trap";
case TRAP_NEEDLE:
@@ -2947,6 +2945,8 @@ static string _base_feature_desc(dungeon_feature_type grid, trap_type trap)
case TRAP_NET:
return "net trap";
#if TAG_MAJOR_VERSION == 34
+ case TRAP_DART:
+ return "dart trap";
case TRAP_GAS:
return "gas trap";
#endif