From e4a2ae96f75e143a6f396daac2871a481eed8e45 Mon Sep 17 00:00:00 2001 From: Johanna Ploog Date: Tue, 12 Jan 2010 20:03:45 +0100 Subject: Don't display chunk effect icons for skeletons. --- crawl-ref/source/tilesdl.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crawl-ref/source/tilesdl.cc') 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) -- cgit v1.2.3-54-g00ecf