From: <gi...@cr...> - 2013-04-17 09:45:32
|
via b14bea4faed9b79faaf36bad86e8757ce0c924e8 (commit) from 85ae4b4ff51200093d72659a61292625e725aab6 (commit) ----------------------------------------------------------------------- commit b14bea4faed9b79faaf36bad86e8757ce0c924e8 Author: Pekka Lampila <pek...@ik...> Date: Wed Apr 17 12:00:00 2013 +0300 Hide useless skills from tiles skill tab This also includes stabbing skill that no longer exists. Signed-off-by: Raphael Langella <rap...@gm...> ----------------------------------------------------------------------- Summary of changes: crawl-ref/source/tilereg-skl.cc | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/crawl-ref/source/tilereg-skl.cc b/crawl-ref/source/tilereg-skl.cc index de5b8ef..51ed67c 100644 --- a/crawl-ref/source/tilereg-skl.cc +++ b/crawl-ref/source/tilereg-skl.cc @@ -233,6 +233,8 @@ void SkillRegion::update() if (skill > SK_UNARMED_COMBAT && skill < SK_SPELLCASTING) continue; + if (is_useless_skill(skill)) + continue; InventoryTile desc; if (you.skills[skill] >= 27) desc.tile = tileidx_skill(skill, -1); -- Dungeon Crawl Stone Soup |