summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 79c535e69c..c5722b2121 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -1377,7 +1377,7 @@ int monster_die(monsters *monster, killer_type killer,
}
// From time to time Trog gives you a little bonus.
- if (killer == KILL_YOU && you.duration[DUR_BERSERKER])
+ if (killer == KILL_YOU && you.berserk())
{
if (you.religion == GOD_TROG
&& !player_under_penance() && you.piety > random2(1000))