diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-05-09 14:55:40 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-05-09 14:55:40 +0000 |
commit | 523f4a0a5478fe3146086a980afa5a8f8ff3d052 (patch) | |
tree | 8edcb3caf9df66bc6beec9558dba60da3b9b5a4f /crawl-ref/source/tags.cc | |
parent | 7dfc7ccd3de424f1aab582578aabe0cdfa2f9504 (diff) | |
download | crawl-ref-523f4a0a5478fe3146086a980afa5a8f8ff3d052.tar.gz crawl-ref-523f4a0a5478fe3146086a980afa5a8f8ff3d052.zip |
Interlevel travel tweaks:
* ^P at branch prompt selects the parent branch of the branch you're in (or
the main dungeon if you're in the main dungeon).
* The depth prompt is always shown, even for single-level branches. This may
need to be rolled back if it's too annoying.
* At the depth prompt, you can use < to go one level above the default
(navigating up into the parent branch if necessary) and > to go one level
below the default (never navigating into deeper branches). - or p or ^P will
change the default to the level closest to the current default in the parent
branch.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1437 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r-- | crawl-ref/source/tags.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc index aefe3e7e70..a9be5532a7 100644 --- a/crawl-ref/source/tags.cc +++ b/crawl-ref/source/tags.cc @@ -264,9 +264,9 @@ T unmarshall_long_as( struct tagHeader& th ) level_id unmarshall_level_id( tagHeader& th ) { level_id id; - id.branch = unmarshallByte(th); + id.branch = static_cast<branch_type>(unmarshallByte(th)); id.depth = unmarshallLong(th); - id.level_type = unmarshallByte(th); + id.level_type = static_cast<level_area_type>(unmarshallByte(th)); return (id); } |