From 31ecf11f2b7ff57426fb26fce5e3e63444e743c3 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 9 Mar 2009 18:49:14 +0000 Subject: * Add tile for Nergalle, who's actually not all that ugly but apparently has a really bad fashion sense. * Add a sticky flame marker for monsters. * Replace the trapdoor spider tile with a less original, but nicer one. * Improve shopping interface: replace "examine item" command with a toggle between browsing and shopping. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9397 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/menu.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/menu.cc') diff --git a/crawl-ref/source/menu.cc b/crawl-ref/source/menu.cc index 6c5c41c67b..7d3cfcacb4 100644 --- a/crawl-ref/source/menu.cc +++ b/crawl-ref/source/menu.cc @@ -298,12 +298,11 @@ void Menu::do_menu() alive = true; while (alive) { - mouse_control mc(MOUSE_MODE_MORE); - int keyin = #ifndef USE_TILE - getchm(KC_MENU, c_getch); + int keyin = getchm(KC_MENU, c_getch); #else - getch(); + mouse_control mc(MOUSE_MODE_MORE); + int keyin = getch(); #endif if (!process_key( keyin )) @@ -1071,7 +1070,7 @@ int slider_menu::item_colour(int index, const MenuEntry *me) const #if defined(WIN32CONSOLE) || defined(DOS) colour = dos_brand(colour, CHATTR_REVERSE); #elif defined(USE_TILE) - colour = colour == WHITE ? YELLOW : WHITE; + colour = (colour == WHITE ? YELLOW : WHITE); #else colour |= COLFLAG_REVERSE; #endif -- cgit v1.2.3-54-g00ecf