summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilesdl.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-09 23:48:57 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-09 23:48:57 +0100
commit1a0866d425495906b1b334a6b9d9d6c75b6008f9 (patch)
treea125f52a7ad4bbd867f7cc62aa21f928f9178631 /crawl-ref/source/tilesdl.cc
parentde609203129e6ea9ed6fb526808f6c221ba6e276 (diff)
downloadcrawl-ref-1a0866d425495906b1b334a6b9d9d6c75b6008f9.tar.gz
crawl-ref-1a0866d425495906b1b334a6b9d9d6c75b6008f9.zip
Don't display chunk/corpse brands for herbivores.
Diffstat (limited to 'crawl-ref/source/tilesdl.cc')
-rw-r--r--crawl-ref/source/tilesdl.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/tilesdl.cc b/crawl-ref/source/tilesdl.cc
index f5cee60297..07d36c948b 100644
--- a/crawl-ref/source/tilesdl.cc
+++ b/crawl-ref/source/tilesdl.cc
@@ -1439,6 +1439,11 @@ int tile_known_weapon_brand(const item_def item)
int tile_corpse_brand(const item_def item)
{
+ // Brands are mostly meaningless to herbivores.
+ // Could still be interesting for Fulsome Distillation, though.
+ if (player_mutation_level(MUT_HERBIVOROUS) == 3)
+ return (0);
+
if (is_poisonous(item))
return TILE_FOOD_POISONED;