diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-06-17 00:01:05 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-06-17 21:19:36 -0700 |
commit | c06e81946b46ccecb06569b5fca87d507619642e (patch) | |
tree | 523e608ada7ed22556e3bea1250d48d2f356d323 /crawl-ref/source/mon-movetarget.cc | |
parent | 6f04e5fe9d0966441777763468e6cc9f75b804c9 (diff) | |
download | crawl-ref-c06e81946b46ccecb06569b5fca87d507619642e.tar.gz crawl-ref-c06e81946b46ccecb06569b5fca87d507619642e.zip |
Replace randomly-generate teleport traps with 1-shot versions
Diffstat (limited to 'crawl-ref/source/mon-movetarget.cc')
-rw-r--r-- | crawl-ref/source/mon-movetarget.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-movetarget.cc b/crawl-ref/source/mon-movetarget.cc index 62ce93398c..dfcb6e462d 100644 --- a/crawl-ref/source/mon-movetarget.cc +++ b/crawl-ref/source/mon-movetarget.cc @@ -283,7 +283,8 @@ static bool _is_level_exit(const coord_def& pos) // Teleportation and shaft traps. const trap_type tt = get_trap_type(pos); - if (tt == TRAP_TELEPORT || tt == TRAP_SHAFT) + if (tt == TRAP_TELEPORT || tt == TRAP_TELEPORT_PERMANENT + || tt == TRAP_SHAFT) return true; return false; |