summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-03 22:30:53 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-03 22:30:53 +0000
commit61aa415257407644740dc5e91d30bd94cdbd5327 (patch)
tree478788b078a882729d4e02541f89295e65a6af29 /crawl-ref/source/effects.cc
parentbcfca21ad67956a47a2ac5f616943567334f7c0b (diff)
downloadcrawl-ref-61aa415257407644740dc5e91d30bd94cdbd5327.tar.gz
crawl-ref-61aa415257407644740dc5e91d30bd94cdbd5327.zip
Miscellaneous minor fixes and cleanups (such as using player_can_smell()
more and mprf() rather than strcats.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@547 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 7f7d2b70dd..81b9c915e7 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -414,8 +414,7 @@ void random_uselessness(unsigned char ru, unsigned char sc_read_2)
break;
case 4:
- // josh declares mummies can't smell {dlb}
- if (you.species != SP_MUMMY)
+ if (player_can_smell())
{
strcpy(info, "You smell ");