diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-08 16:20:49 +0300 |
---|---|---|
committer | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-08 16:20:49 +0300 |
commit | ce42ec3ebfa796ba601e46d27c7c4f5e01489970 (patch) | |
tree | f70efd5578acc84ef1f71b3eb975d0dbaa30f54a /crawl-ref/source/output.cc | |
parent | 5562dfc2a3dd500be1a98a02703eb37496b5fb8e (diff) | |
download | crawl-ref-ce42ec3ebfa796ba601e46d27c7c4f5e01489970.tar.gz crawl-ref-ce42ec3ebfa796ba601e46d27c7c4f5e01489970.zip |
Replace uses of player_AC with player::armour_class.
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r-- | crawl-ref/source/output.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<formatted_string> _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()); |