summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-06 11:51:01 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-06 11:51:01 +0000
commit13df86ae6a0ffabd9245c2abd5d3b11b2721eaa2 (patch)
tree19f9515266d415b0828b71c099304223f5b71e28 /crawl-ref/source/traps.cc
parent0ebab01da03f58d1175d2604e3c7aa22e1e49fa7 (diff)
downloadcrawl-ref-13df86ae6a0ffabd9245c2abd5d3b11b2721eaa2.tar.gz
crawl-ref-13df86ae6a0ffabd9245c2abd5d3b11b2721eaa2.zip
Corrections to manual (patch by maiermirk) and
fix to freeing self from net. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2775 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/traps.cc')
-rw-r--r--crawl-ref/source/traps.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc
index be8634efe6..8f281ebd36 100644
--- a/crawl-ref/source/traps.cc
+++ b/crawl-ref/source/traps.cc
@@ -631,7 +631,7 @@ static int damage_or_escape_net(int hold)
if (escape == 0) // middle-sized creatures are at a disadvantage
{
escape += coinflip();
- damage -= coinflip();
+ damage += coinflip();
}
// your weapon may damage the net, max. bonus of 2