diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-04-29 05:14:55 +0100 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-07 18:23:27 -0600 |
commit | 8d2175795c2dbfbf697d4119f7fcb079df1112c1 (patch) | |
tree | b2943eb9f73d9b3813fadec62bbbc2f45a28ea2c /crawl-ref/source/mon-death.cc | |
parent | 1aace79fe509d4494db3f9aca9e3386fca2c92dc (diff) | |
download | crawl-ref-8d2175795c2dbfbf697d4119f7fcb079df1112c1.tar.gz crawl-ref-8d2175795c2dbfbf697d4119f7fcb079df1112c1.zip |
Generate gold from all corpses under Gozag
Don't drop corpses in weird edge cases like monsters being accidentally
killed by other monsters.
Diffstat (limited to 'crawl-ref/source/mon-death.cc')
-rw-r--r-- | crawl-ref/source/mon-death.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-death.cc b/crawl-ref/source/mon-death.cc index 5d834719e1..1c86b1b1de 100644 --- a/crawl-ref/source/mon-death.cc +++ b/crawl-ref/source/mon-death.cc @@ -469,7 +469,7 @@ int place_monster_corpse(const monster* mons, bool player_or_pet, bool silent, return -1; } - if (player_or_pet && you_worship(GOD_GOZAG) && !player_under_penance()) + if (you_worship(GOD_GOZAG) && !player_under_penance()) { const monsterentry* me = get_monster_data(corpse_class); const int base_gold = max(3, (me->weight - 200) / 27); |