summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/dungeon.cc2
-rw-r--r--crawl-ref/source/files.cc5
2 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index ee9d3f61d4..2450a1475f 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -8310,10 +8310,8 @@ static bool _fixup_interlevel_connectivity()
if (at_branch_bottom())
{
for (int i = 0; i < 3; i++)
- {
if (!region_connected[up_region[i]])
return (false);
- }
}
// Sanity check that we're not duplicating stairs.
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index 2ee53f8df8..2d0a20f7e4 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -703,6 +703,11 @@ std::vector<player_save_info> find_saved_characters()
#ifdef USE_TILE
if (Options.tile_menu_icons)
{
+ #ifndef LOAD_UNPACKAGE_CMD
+ std::string basename =
+ filename.substr(0,
+ filename.length() - strlen(".sav"));
+ #endif
const std::string dollname = basename + ".tdl";
#ifdef LOAD_UNPACKAGE_CMD
snprintf( cmd_buff, sizeof(cmd_buff),