diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-01 05:29:43 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-01 05:29:43 +0000 |
commit | 522053ab5ef9faa39ee1ce81101d8893094b36ff (patch) | |
tree | 3c2fffa21012183c16afcb69e5250c2986d476e8 /crawl-ref | |
parent | 551913a7c5d4cb24944bad95a73a0355b9f2e563 (diff) | |
download | crawl-ref-522053ab5ef9faa39ee1ce81101d8893094b36ff.tar.gz crawl-ref-522053ab5ef9faa39ee1ce81101d8893094b36ff.zip |
Add still more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5396 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/xom.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index 24952eed1b..cdeba01205 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -986,8 +986,8 @@ void xom_acts(bool niceness, int sever) static void xom_check_less_runes(int runes_gones) { - if (player_in_branch(BRANCH_HALL_OF_ZOT) || - !(branches[BRANCH_HALL_OF_ZOT].branch_flags & BFLAG_HAS_ORB)) + if (player_in_branch(BRANCH_HALL_OF_ZOT) + || !(branches[BRANCH_HALL_OF_ZOT].branch_flags & BFLAG_HAS_ORB)) { return; } @@ -999,8 +999,8 @@ static void xom_check_less_runes(int runes_gones) int was_avail = runes_avail + runes_gones; // No longer enough available runes to get into Zot. - if (was_avail >= NUMBER_OF_RUNES_NEEDED && - runes_avail < NUMBER_OF_RUNES_NEEDED) + if (was_avail >= NUMBER_OF_RUNES_NEEDED + && runes_avail < NUMBER_OF_RUNES_NEEDED) { xom_is_stimulated(128, "Xom snickers.", true); } @@ -1021,13 +1021,13 @@ void xom_check_lost_item(const item_def& item) if (is_unique_rune(item)) xom_is_stimulated(255, "Xom snickers loudly.", true); - else if (you.entry_cause == EC_SELF_EXPLICIT && - !(item.flags & ISFLAG_BEEN_IN_INV)) + else if (you.entry_cause == EC_SELF_EXPLICIT + && !(item.flags & ISFLAG_BEEN_IN_INV)) { // Player voluntarily entered Pan or the Abyss looking for // runes, yet never found them. - if (item.plus == RUNE_ABYSSAL && - you.attribute[ATTR_ABYSSAL_RUNES] == 0) + if (item.plus == RUNE_ABYSSAL + && you.attribute[ATTR_ABYSSAL_RUNES] == 0) { // Ignore Abyss area shifts. if (you.level_type != LEVEL_ABYSS) @@ -1035,8 +1035,8 @@ void xom_check_lost_item(const item_def& item) // demonic runes, so they get twice the stimulation. xom_is_stimulated(128, "Xom snickers.", true); } - else if (item.plus == RUNE_DEMONIC && - you.attribute[ATTR_DEMONIC_RUNES] == 0) + else if (item.plus == RUNE_DEMONIC + && you.attribute[ATTR_DEMONIC_RUNES] == 0) { xom_is_stimulated(64, "Xom snickers softly.", true); } |