diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2013-05-23 12:41:44 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2013-05-23 12:44:49 -0600 |
commit | 46bfda39a8d584164fa475188367f331314a644d (patch) | |
tree | eaae16b02a2a6c422f75131ced6aa0f52864bf5b /crawl-ref/source/spl-transloc.cc | |
parent | b23a7d84946192647e02fe0a1041763d8108f162 (diff) | |
download | crawl-ref-46bfda39a8d584164fa475188367f331314a644d.tar.gz crawl-ref-46bfda39a8d584164fa475188367f331314a644d.zip |
Track who destroys an item; incur Nemelex penance for deck destruction.
The framework here could be adopted to, say, give brownie points to
Yredelemnul worshippers for destroying holy items, or other creative
item-related god conducts.
(More importantly, you can now reliably become an Unlucky Tengu.
Hooray.)
Diffstat (limited to 'crawl-ref/source/spl-transloc.cc')
-rw-r--r-- | crawl-ref/source/spl-transloc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-transloc.cc b/crawl-ref/source/spl-transloc.cc index fd6a518f3e..716b068c81 100644 --- a/crawl-ref/source/spl-transloc.cc +++ b/crawl-ref/source/spl-transloc.cc @@ -964,7 +964,7 @@ spret_type cast_apportation(int pow, bolt& beam, bool fail) if (max_units < item.quantity) { - if (!copy_item_to_grid(item, new_spot, max_units)) + if (!copy_item_to_grid(item, new_spot, MHITYOU, max_units)) { // Always >1 item. mpr("They abruptly stop in place!"); |