diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-21 19:43:00 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-21 19:43:00 +0000 |
commit | f284d478404c39e10de085fe203d8891db73e95c (patch) | |
tree | 5b8a42298a940023e0ce00b360c3268a7e75a680 /crawl-ref/source/monstuff.cc | |
parent | 7c84d174a0e077e2582a3bdbda5ed6c3b84f7787 (diff) | |
download | crawl-ref-f284d478404c39e10de085fe203d8891db73e95c.tar.gz crawl-ref-f284d478404c39e10de085fe203d8891db73e95c.zip |
Backport oos mouseover descriptions for Tiles, corpses not being dropped
inside walls, and LRD not working at low levels.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10768 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r-- | crawl-ref/source/monstuff.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index e671a44084..f23f6b7c09 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -392,6 +392,11 @@ int place_monster_corpse(const monsters *monster, bool silent, if (!in_bounds(monster->pos())) return (-1); + // Don't attempt to place corpses within walls, either. + // Currently, this only applies to (shapeshifter) rock worms. + if (grid_is_wall(grd(monster->pos()))) + return (-1); + item_def corpse; const int corpse_class = fill_out_corpse(monster, corpse); |