From ce42ec3ebfa796ba601e46d27c7c4f5e01489970 Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Sun, 8 Nov 2009 16:20:49 +0300 Subject: Replace uses of player_AC with player::armour_class. --- crawl-ref/source/output.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/output.cc') diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index 605a20edfd..b38ecd0c80 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -484,7 +484,7 @@ static void _print_stats_ac(int x, int y) textcolor( RED ); else textcolor( HUD_VALUE_COLOUR ); - cprintf( "%2d ", player_AC() ); + cprintf( "%2d ", you.armour_class() ); // SH: (two lines lower) cgotoxy(x+4, y+2, GOTO_STAT); @@ -1685,7 +1685,7 @@ static std::vector _get_overview_stats() snprintf(buf, sizeof buf, "Gold %d", you.gold); cols1.add_formatted(0, buf, false); - snprintf(buf, sizeof buf, "AC %2d" , player_AC()); + snprintf(buf, sizeof buf, "AC %2d" , you.armour_class()); cols1.add_formatted(1, buf, false); snprintf(buf, sizeof buf, "EV %2d" , player_evasion()); -- cgit v1.2.3-54-g00ecf