diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-01-12 20:03:45 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-01-12 20:03:45 +0100 |
commit | e4a2ae96f75e143a6f396daac2871a481eed8e45 (patch) | |
tree | 2b363a98a52217ba4777044176a73239348655bc /crawl-ref/source/tilesdl.cc | |
parent | 25634a7027616358c3b5ba94e478d4d641a03196 (diff) | |
download | crawl-ref-e4a2ae96f75e143a6f396daac2871a481eed8e45.tar.gz crawl-ref-e4a2ae96f75e143a6f396daac2871a481eed8e45.zip |
Don't display chunk effect icons for skeletons.
Diffstat (limited to 'crawl-ref/source/tilesdl.cc')
-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) |