summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-19 10:59:26 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-19 10:59:26 +0000
commitfae235b09c5fc363f998571caad3c6944576915e (patch)
tree165449a8670a68e426154c13e9fa406857ebecba /crawl-ref/source/misc.cc
parentbbb205e0b5f4c9a8ed70f842770e5ed46e7985c3 (diff)
downloadcrawl-ref-fae235b09c5fc363f998571caad3c6944576915e.tar.gz
crawl-ref-fae235b09c5fc363f998571caad3c6944576915e.zip
* Open Zot for good the first time you enter (with three runes or more).
* Add tiles for Zot entrance (both closed and open). * Apply zebez' patch 2823787 to make Magic Mapping show altars/gates. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10303 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index d4e63f1186..c1ba8b9d93 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -2117,7 +2117,7 @@ void down_stairs( int old_level, dungeon_feature_type force_stair,
mpr("You fall through a shaft!");
}
- if (stair_find == DNGN_ENTER_ZOT)
+ if (stair_find == DNGN_ENTER_ZOT && !you.opened_zot)
{
const int num_runes = runes_in_pack();
@@ -2135,6 +2135,9 @@ void down_stairs( int old_level, dungeon_feature_type force_stair,
}
return;
}
+ // TODO: This needs a better message!
+ mpr("The gate opens wide!");
+ you.opened_zot = true;
}
// Bail if any markers veto the move.