summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-ench.cc
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2014-03-12 18:10:22 -0230
committerDracoOmega <draco_omega@live.com>2014-03-12 19:52:16 -0230
commitb7d8f5a35a2be79f042381b88304f83e77aa769c (patch)
tree8edca68a554da9a9f5afadcc389bebb1a79c29bf /crawl-ref/source/mon-ench.cc
parentcd79464d151ff210f3dc0d83870b6f604f355554 (diff)
downloadcrawl-ref-b7d8f5a35a2be79f042381b88304f83e77aa769c.tar.gz
crawl-ref-b7d8f5a35a2be79f042381b88304f83e77aa769c.zip
Remove throwing net degradation, instead mulch probabilistically
Instead of throwing nets accumulating persistent damage as monsters struggled against them (and then becoming impossible to stack in your inventory afterward), they are either outright destroyed by the struggle or remain in normal condition. This should make them a little less cumbersome to use. This commit doesn't actually touch any of the escape formulas (which are an impressive snarl that could definitely use tending to), since probably they would need rewriting from scratch and I didn't want to undertake that so close to 0.14, with various other things still in the air.
Diffstat (limited to 'crawl-ref/source/mon-ench.cc')
-rw-r--r--crawl-ref/source/mon-ench.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-ench.cc b/crawl-ref/source/mon-ench.cc
index bd4c165c40..d7feefbac0 100644
--- a/crawl-ref/source/mon-ench.cc
+++ b/crawl-ref/source/mon-ench.cc
@@ -656,7 +656,7 @@ void monster::remove_enchantment_effect(const mon_enchant &me, bool quiet)
int net = get_trapping_net(pos());
if (net != NON_ITEM)
{
- remove_item_stationary(mitm[net]);
+ free_stationary_net(net);
if (!quiet)
simple_monster_message(this, " breaks free.");