summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-28 23:07:05 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-28 23:07:05 +0000
commit5331993d1a4db1a03e36a6860edcad756213973b (patch)
treec86a58fc1ba3582d0975ff0f5c42a7151445c918 /crawl-ref/source/menu.cc
parentfde21eb9a22782da835911ea2a0d3b70836a81a5 (diff)
downloadcrawl-ref-5331993d1a4db1a03e36a6860edcad756213973b.tar.gz
crawl-ref-5331993d1a4db1a03e36a6860edcad756213973b.zip
* Add icons for weapon brands, mostly borrowing from potions/wands and
with a few new creations. :) * Move tiles for unrandarts and fixedarts into artefact/ subfolders. * Move the Knife of Accuracy into the unrandart list. * Add a lab vault containing a hungry ghost (maybe should be rarer). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7680 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/menu.cc')
-rw-r--r--crawl-ref/source/menu.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/menu.cc b/crawl-ref/source/menu.cc
index a9f4f33109..4eef9c0424 100644
--- a/crawl-ref/source/menu.cc
+++ b/crawl-ref/source/menu.cc
@@ -952,9 +952,8 @@ bool slider_menu::process_key(int key)
return (false);
}
- if (Menu::is_set(MF_NOWRAP) &&
- selected == 0 &&
- (key == CK_UP || key == CK_PGUP || key == '<' || key == ';'))
+ if (Menu::is_set(MF_NOWRAP) && selected == 0
+ && (key == CK_UP || key == CK_PGUP || key == '<' || key == ';'))
{
oldselect = selected;
selected = -1;