summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/tilereg.cc')
-rw-r--r--crawl-ref/source/tilereg.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc
index 096d45bd54..7ca7a2efbc 100644
--- a/crawl-ref/source/tilereg.cc
+++ b/crawl-ref/source/tilereg.cc
@@ -879,7 +879,7 @@ void DungeonRegion::pack_foreground(unsigned int bg, unsigned int fg, int x, int
}
if (fg & TILE_FLAG_NET)
- m_buf_main.add(TILE_TRAP_NET, x, y);
+ m_buf_doll.add(TILEP_TRAP_NET, x, y);
if (fg & TILE_FLAG_S_UNDER)
m_buf_main.add(TILE_SOMETHING_UNDER, x, y);
@@ -3369,12 +3369,8 @@ bool ImageManager::load_textures()
if (!m_textures[TEX_PLAYER].load_texture("player.png", mip))
return (false);
- if (!m_textures[TEX_DEFAULT].load_texture("main.png", mip))
- return (false);
-
m_textures[TEX_DUNGEON].set_info(TILE_DNGN_MAX, &tile_dngn_info);
m_textures[TEX_PLAYER].set_info(TILEP_PLAYER_MAX, &tile_player_info);
- m_textures[TEX_DEFAULT].set_info(TILE_MAIN_MAX, &tile_main_info);
return (true);
}