summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 7100ef161a..1cfca89f1d 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -1354,7 +1354,11 @@ void process_command( command_type cmd )
break;
case CMD_TOGGLE_SPELL_DISPLAY:
- Options.tile_display_spells = !Options.tile_display_spells;
+ if (Options.tile_display == TDSP_SPELLS)
+ Options.tile_display = TDSP_INVENT;
+ else
+ Options.tile_display = TDSP_SPELLS;
+
tiles.update_inventory();
break;
#endif