summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-14 20:48:12 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-14 20:48:12 +0000
commit5c837c44830ddb54d50e2a3a39851a8efc9bc6d8 (patch)
tree47b1f0c2eac6c6a5b3c377c76f717cfa1294cb85 /crawl-ref/source/acr.cc
parent676dc0d1108ddbf60d3f7988be0be93e808d0f9a (diff)
downloadcrawl-ref-5c837c44830ddb54d50e2a3a39851a8efc9bc6d8.tar.gz
crawl-ref-5c837c44830ddb54d50e2a3a39851a8efc9bc6d8.zip
* Make tile_menu_icons deactivate show_inventory_weights as those two
don't work well together. * Experimentally increase the redraw tick counter. Maybe that should become an option, might help track down the lags. Dunno if that's even part of the problem. * Another attempt to fix the "missing item in tiles inventory" bug. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9979 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index fd3735db07..2c3d41930d 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -3451,6 +3451,10 @@ static bool _initialise(void)
#endif
#ifdef USE_TILE
+ // Override inventory weights options for tiled menus.
+ if (Options.tile_menu_icons && Options.show_inventory_weights)
+ Options.show_inventory_weights = false;
+
tiles.resize();
#endif