summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r--crawl-ref/source/xom.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index 4411c83957..59b7360cc3 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -2733,7 +2733,7 @@ static bool _xom_is_bad(int sever, int tension)
done = _xom_polymorph_nearby_monster(false);
badness = 3;
}
- else if ((!nasty || tension > 0) && x_chance_in_y(11, sever))
+ else if (tension > 0 && x_chance_in_y(11, sever))
{
done = _repel_stairs();
badness = (you.duration[DUR_REPEL_STAIRS_CLIMB] ? 3 : 2);