summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-14 11:56:37 +0300
committerVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-14 12:05:16 +0300
commite7c8daa764478faeadb05f074819c64c6cf3c36e (patch)
treeec9b7f7b921ffec9f401c1bf50148d10e83ff0a4 /crawl-ref/source/spells2.cc
parent793840497955f01f4d2dbc9abde6fed7c4c83402 (diff)
downloadcrawl-ref-e7c8daa764478faeadb05f074819c64c6cf3c36e.tar.gz
crawl-ref-e7c8daa764478faeadb05f074819c64c6cf3c36e.zip
Move player_can_smell to player::can_smell.
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 4e0a3c366f..14cd3f19ec 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -239,7 +239,7 @@ void corpse_rot()
}
}
- if (player_can_smell())
+ if (you.can_smell())
mpr("You smell decay.");
// Should make zombies decay into skeletons?