From 523f4a0a5478fe3146086a980afa5a8f8ff3d052 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 9 May 2007 14:55:40 +0000 Subject: 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 --- crawl-ref/source/tags.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/tags.cc') 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(unmarshallByte(th)); id.depth = unmarshallLong(th); - id.level_type = unmarshallByte(th); + id.level_type = static_cast(unmarshallByte(th)); return (id); } -- cgit v1.2.3-54-g00ecf