summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-19 14:08:58 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-19 14:08:58 +0000
commit9cce2935d8da7147bebe3d4aeb4a4283b779f798 (patch)
treef3064a5c4daf169919d8e4b0335abfbd76bd05a0 /crawl-ref/source/monstuff.cc
parent6a93b55183ada2559d026ae0dd57a295ae1807f4 (diff)
downloadcrawl-ref-9cce2935d8da7147bebe3d4aeb4a4283b779f798.tar.gz
crawl-ref-9cce2935d8da7147bebe3d4aeb4a4283b779f798.zip
A number of tutorial improvements, including reintroducing info on spellbooks.
Also: Fix 1832819. (Horn mutation not making helmet slot show as "restricted") Fix 1831983. (Autobutcher now ignores weapons inscribed with !w) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2872 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index b6fce2e184..7e57b7433b 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -345,7 +345,11 @@ static void place_monster_corpse(const monsters *monster)
// Don't care if 'o' is changed, and it shouldn't be (corpses don't stack)
move_item_to_grid( &o, monster->x, monster->y );
if (see_grid(monster->x, monster->y))
- tutorial_dissection_reminder();
+ {
+ tutorial_dissection_reminder(
+ mons_corpse_effect(monster->type) != CE_POISONOUS
+ || player_res_poison() > 0 );
+ }
} // end place_monster_corpse()
static void tutorial_inspect_kill()