From 82d1156545140d12af47d0267466e34017684e0e Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Thu, 19 Jun 2008 21:53:43 +0000 Subject: Update tutorial information for the 'm' and 'a' screens. Space allowing, differentiate between hydras with different numbers of heads in the monster list. (This is probably only interesting in the Swamp.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5993 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/abl-show.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'crawl-ref/source/abl-show.cc') diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc index 478685394d..7bc948f10f 100644 --- a/crawl-ref/source/abl-show.cc +++ b/crawl-ref/source/abl-show.cc @@ -1965,6 +1965,14 @@ int choose_ability_menu(const std::vector& talents, bool describe) abil_menu.set_flags(MF_SINGLESELECT | MF_ANYPRINTABLE | MF_ALWAYS_SHOW_MORE); } + else if (Options.tutorial_left) + { + // XXX This could be buggy if you manage to pick up lots and lots + // of abilities during the tutorial. + abil_menu.set_more(tut_abilities_info()); + abil_menu.set_flags(MF_SINGLESELECT | MF_ANYPRINTABLE | + MF_ALWAYS_SHOW_MORE); + } int numbers[52]; for (int i = 0; i < 52; ++i) @@ -2001,14 +2009,6 @@ int choose_ability_menu(const std::vector& talents, bool describe) } } - if (Options.tutorial_left) - { - // XXX This could be buggy if you manage to pick up lots and lots - // of abilities during the tutorial. - abil_menu.set_more(tut_abilities_info()); - abil_menu.set_flags(MF_SINGLESELECT | MF_ANYPRINTABLE | - MF_ALWAYS_SHOW_MORE); - } std::vector sel = abil_menu.show(false); redraw_screen(); if (sel.empty()) -- cgit v1.2.3-54-g00ecf