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/cloud.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/cloud.cc')
-rw-r--r-- | crawl-ref/source/cloud.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/cloud.cc b/crawl-ref/source/cloud.cc index 96ae7d8916..65e6ae3c80 100644 --- a/crawl-ref/source/cloud.cc +++ b/crawl-ref/source/cloud.cc @@ -626,7 +626,7 @@ void in_a_cloud() if (resist < 0) hurted += ((random2avg(14, 2) + 3) * you.time_taken) / 10; - hurted -= random2(player_AC()); + hurted -= random2(you.armour_class()); if (hurted < 0) hurted = 0; @@ -680,7 +680,7 @@ void in_a_cloud() if (resist < 0) hurted += ((random2avg(14, 2) + 3) * you.time_taken) / 10; - hurted -= random2(player_AC()); + hurted -= random2(you.armour_class()); if (hurted < 0) hurted = 0; |