summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.cc
diff options
context:
space:
mode:
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 7d3c1430d7..b69a514fd4 100644
--- a/crawl-ref/source/traps.cc
+++ b/crawl-ref/source/traps.cc
@@ -898,7 +898,7 @@ static int damage_or_escape_net(int hold)
// Confusion makes the whole thing somewhat harder
// (less so for trying to escape).
- if (you.duration[DUR_CONF])
+ if (you.confused())
{
if (escape > 1)
escape--;