summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 66b835d736..48e1d3ccd3 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -2065,7 +2065,7 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail)
// Escape spells.
case SPELL_BLINK:
- random_blink(true);
+ random_blink(god != GOD_XOM);
break;
case SPELL_TELEPORT_SELF:
@@ -2191,7 +2191,7 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail)
return (SPRET_SUCCESS);
}
-void exercise_spell( spell_type spell, bool spc, bool success )
+void exercise_spell(spell_type spell, bool spc, bool success)
{
// (!success) reduces skill increase for miscast spells
int skill;