diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-05 20:35:01 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-05 20:35:01 +0000 |
commit | 732ba8ca51d62f06fe5d79a2b151d70b9db9a316 (patch) | |
tree | 6402b9a50f0aab41226e917d619ba0c05d29dde9 | |
parent | 3119cff6c968cf6b28fc5ccb7769993e266fcea1 (diff) | |
download | crawl-ref-732ba8ca51d62f06fe5d79a2b151d70b9db9a316.tar.gz crawl-ref-732ba8ca51d62f06fe5d79a2b151d70b9db9a316.zip |
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6414 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/xom.cc | 11 |
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; + } } } |