summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-05 13:22:21 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-05 13:22:21 +0000
commit3edb4c171ba3f6ceab0c74374beb70ebbec7a264 (patch)
tree5e2e62494feace5a66520a127c56b3b8f099791c /crawl-ref/source/stash.cc
parentfafa8e33e468a7092f91e57e4d6e148811760ccc (diff)
downloadcrawl-ref-3edb4c171ba3f6ceab0c74374beb70ebbec7a264.tar.gz
crawl-ref-3edb4c171ba3f6ceab0c74374beb70ebbec7a264.zip
[1748162] Allow travel to the stair to a branch or level (using ^ will go to
the entrance to any level; can also enter 0 at the depth prompt to go to a branch entrance.) Also (experimentally) unifies the level-map and interlevel travel targets. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1754 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r--crawl-ref/source/stash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc
index 7c58b55cde..6f67cb91c6 100644
--- a/crawl-ref/source/stash.cc
+++ b/crawl-ref/source/stash.cc
@@ -1557,7 +1557,7 @@ void StashTracker::display_search_results(
if (dotravel && can_travel_to(res->pos.id))
{
redraw_screen();
- const level_pos lp = res->pos;
+ const travel_target lp = res->pos;
start_translevel_travel(lp);
return ;
}