summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-28 19:59:33 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-28 19:59:33 +0000
commitb51dc9e9720a5cdb08d240da53948d34bb8a6c5a (patch)
tree907ba1c3a10ce86c5a2b7b06c1a1cacc0da3657f /crawl-ref/source/effects.cc
parentf7eda5bc39c5971efb204d29b2bf155eda36ce26 (diff)
downloadcrawl-ref-b51dc9e9720a5cdb08d240da53948d34bb8a6c5a.tar.gz
crawl-ref-b51dc9e9720a5cdb08d240da53948d34bb8a6c5a.zip
Xom again:
* tweak values for tension and amusement * Xom only laughs about "funny" deaths * gift_timeout rerolling after a bad act depends on its severity * replace the blink effect with position swapping git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9561 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index ed5b3e8341..76477d6331 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -2270,7 +2270,7 @@ bool vitrify_area(int radius)
// This hinges on clear wall types having the same order as non-clear ones!
const int clear_plus = DNGN_CLEAR_ROCK_WALL - DNGN_ROCK_WALL;
bool something_happened = false;
- for ( radius_iterator ri(you.pos(), radius, false, false); ri; ++ri )
+ for (radius_iterator ri(you.pos(), radius, false, false); ri; ++ri)
{
const dungeon_feature_type grid = grd(*ri);
@@ -2278,8 +2278,7 @@ bool vitrify_area(int radius)
|| grid == DNGN_STONE_WALL
|| grid == DNGN_PERMAROCK_WALL )
{
- grd(*ri)
- = static_cast<dungeon_feature_type>(grid + clear_plus);
+ grd(*ri) = static_cast<dungeon_feature_type>(grid + clear_plus);
set_terrain_changed(ri->x, ri->y);
something_happened = true;
}