From e89ecc38f9adc6ef254aad4697a83927696b4dd1 Mon Sep 17 00:00:00 2001 From: dolorous Date: Mon, 21 Apr 2008 01:16:07 +0000 Subject: Don't display "-" if the player has no shield equipped. Instead, display the shield class number unconditionally, so that if you only have a magical shield, you can see the shield class properly. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4430 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/output.cc | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'crawl-ref/source/output.cc') diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index ffb09dde4b..76bd97ee61 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -449,15 +449,8 @@ static void _print_stats_ac(int x, int y) { textcolor( LIGHTBLUE ); // no end of effect warning } - if (you.equip[EQ_SHIELD] == -1) - { - textcolor( DARKGREY ); - cprintf( " - " ); - } - else - { - cprintf( "%2d ", player_shield_class() ); - } + + cprintf( "%2d ", player_shield_class() ); textcolor( LIGHTGREY ); } -- cgit v1.2.3-54-g00ecf