diff options
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/tilesdl.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/tilesdl.cc b/crawl-ref/source/tilesdl.cc index 5610a8341a..e4a5338344 100644 --- a/crawl-ref/source/tilesdl.cc +++ b/crawl-ref/source/tilesdl.cc @@ -1440,6 +1440,9 @@ int tile_known_weapon_brand(const item_def item) int tile_corpse_brand(const item_def item) { + if (item.base_type != OBJ_CORPSES || item.sub_type != CORPSE_BODY) + return (0); + // Brands are mostly meaningless to herbivores. // Could still be interesting for Fulsome Distillation, though. if (player_mutation_level(MUT_HERBIVOROUS) == 3) |