summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilesdl.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-06-18 13:19:04 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-06-19 14:38:30 +0200
commit4835408b6ab43dc3c71c0b594bb414fab33921cf (patch)
treefc25d2d14b146c66d2842d6217ca3624816b233f /crawl-ref/source/tilesdl.cc
parent67a6cc6beeb627ad19eb9fce4b9530f100f09dec (diff)
downloadcrawl-ref-4835408b6ab43dc3c71c0b594bb414fab33921cf.tar.gz
crawl-ref-4835408b6ab43dc3c71c0b594bb414fab33921cf.zip
Unify and sanitize .rc parsing of item classes, allow adding rods to autopickup.
Perhaps this should be merged with the new per-subtype interface somehow, though.
Diffstat (limited to 'crawl-ref/source/tilesdl.cc')
-rw-r--r--crawl-ref/source/tilesdl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tilesdl.cc b/crawl-ref/source/tilesdl.cc
index c45caaad1a..30d6376ae2 100644
--- a/crawl-ref/source/tilesdl.cc
+++ b/crawl-ref/source/tilesdl.cc
@@ -1189,7 +1189,7 @@ void TilesFramework::update_minimap_bounds()
void TilesFramework::update_tabs()
{
- if (!Options.tile_show_items || crawl_state.game_is_arena())
+ if (Options.tile_show_items.empty() || crawl_state.game_is_arena())
return;
m_region_tab->update();