diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-14 11:56:37 +0300 |
---|---|---|
committer | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-14 12:05:16 +0300 |
commit | e7c8daa764478faeadb05f074819c64c6cf3c36e (patch) | |
tree | ec9b7f7b921ffec9f401c1bf50148d10e83ff0a4 /crawl-ref/source/describe.cc | |
parent | 793840497955f01f4d2dbc9abde6fed7c4c83402 (diff) | |
download | crawl-ref-e7c8daa764478faeadb05f074819c64c6cf3c36e.tar.gz crawl-ref-e7c8daa764478faeadb05f074819c64c6cf3c36e.zip |
Move player_can_smell to player::can_smell.
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 248d59df2c..6b2283fd3d 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -663,7 +663,7 @@ static std::string _describe_demon(const monsters &mons) if (x_chance_in_y(3, 40)) { - if (player_can_smell()) + if (you.can_smell()) { switch (random2(3)) { |