From b693006ae5c1e471a4400900384d2419746c1b10 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 13 Oct 2009 20:15:40 -0500 Subject: If Xom is making you blink, don't allow it to be a controlled blink. --- crawl-ref/source/spl-cast.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/spl-cast.cc') 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; -- cgit v1.2.3-54-g00ecf