summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-06-16 23:33:10 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-06-16 23:33:10 -0700
commit928a14f97509482b146d00be0a6ef1e6c91678af (patch)
treed136561bbacabda73be3e32df521d02e0be44f6f /crawl-ref/source/dungeon.cc
parentec9a4c18528d1000648c242854481f69062fb686 (diff)
downloadcrawl-ref-928a14f97509482b146d00be0a6ef1e6c91678af.tar.gz
crawl-ref-928a14f97509482b146d00be0a6ef1e6c91678af.zip
Remove dart traps from Zot:5
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 36d4e003a9..4e524c75ba 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -5970,6 +5970,9 @@ static bool _place_specific_trap(const coord_def& where, trap_spec* spec, int ch
bool no_shaft = no_tele || !is_valid_shaft_level();
while (spec_type >= NUM_TRAPS
+#if TAG_MAJOR_VERSION == 34
+ || spec_type == TRAP_DART || spec_type == TRAP_GAS
+#endif
|| no_tele && spec_type == TRAP_TELEPORT
|| no_shaft && spec_type == TRAP_SHAFT)
{