summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/icecave.des
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-12-10 09:44:01 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-12-10 11:00:53 +1000
commit9f4bc8c473b1da88c6f322c70dccd0f60d3b6706 (patch)
tree359dc710209cc5aef4112afef9f2879fdfad97d6 /crawl-ref/source/dat/icecave.des
parent33369e6dae1231e9b38da2c45ab59e670dbe440a (diff)
downloadcrawl-ref-9f4bc8c473b1da88c6f322c70dccd0f60d3b6706.tar.gz
crawl-ref-9f4bc8c473b1da88c6f322c70dccd0f60d3b6706.zip
Remove extraneous safety code from maps.
you.teleport_to now does most of this in-house, as well as displacement. The moving of monsters at the location is now no longer necessary.
Diffstat (limited to 'crawl-ref/source/dat/icecave.des')
-rw-r--r--crawl-ref/source/dat/icecave.des7
1 files changed, 0 insertions, 7 deletions
diff --git a/crawl-ref/source/dat/icecave.des b/crawl-ref/source/dat/icecave.des
index f7167a408b..64bf0a184f 100644
--- a/crawl-ref/source/dat/icecave.des
+++ b/crawl-ref/source/dat/icecave.des
@@ -948,13 +948,6 @@ local function teleporter (data, triggerable, triggerer, marker, ev)
my_slaves = dgn.find_marker_positions_by_prop("teleport_spot",
data.teleport_spot)
- -- In order to make you.moveto safe(ish), teleport anyy monster at the
- -- destination randomly.
- local monster = dgn.mons_at(my_slaves[1].x, my_slaves[1].y)
- if monster ~= nil then
- monster.random_teleport()
- end
-
you.teleport_to(my_slaves[1].x, my_slaves[1].y)
crawl.mpr("Your surroundings suddenly seem different!")
end