summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/xom.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index bfcbc4a87a..fc40cb3750 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -900,13 +900,16 @@ static bool _xom_is_bad(int sever)
done = true;
}
- else if (one_chance_in(sever) && (you.level_type != LEVEL_ABYSS))
+ else if (one_chance_in(sever))
{
- god_speaks(GOD_XOM, _get_xom_speech("banishment").c_str());
+ if (you.level_type != LEVEL_ABYSS)
+ {
+ god_speaks(GOD_XOM, _get_xom_speech("banishment").c_str());
- banished(DNGN_ENTER_ABYSS, "Xom");
+ banished(DNGN_ENTER_ABYSS, "Xom");
- done = true;
+ done = true;
+ }
}
}