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>2008-07-01 22:49:33 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-01 22:49:33 +0000
commit9d50c76de535f99c039fbd1250eadb8554cedcbb (patch)
tree587642b0ffc9642cd1198adc292699062b3b311b /crawl-ref/source/effects.cc
parent633a81c7f6b92c1e85f9efde063a01bf3ac34f27 (diff)
downloadcrawl-ref-9d50c76de535f99c039fbd1250eadb8554cedcbb.tar.gz
crawl-ref-9d50c76de535f99c039fbd1250eadb8554cedcbb.zip
For Tiles, use some of the other wall types in the Abyss as well to make
it more interesting. The rest is mostly clean-up. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6307 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 7bb4f2b803..f45762c9b9 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -2114,10 +2114,10 @@ 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 ( int x = X_BOUND_1; x <= X_BOUND_2; ++x )
- for ( int y = Y_BOUND_1; y <= Y_BOUND_2; ++y )
+ for (int x = X_BOUND_1; x <= X_BOUND_2; ++x)
+ for (int y = Y_BOUND_1; y <= Y_BOUND_2; ++y)
{
- if ( distance(x,y,you.x_pos,you.y_pos) < radius2 )
+ if (distance(x,y,you.x_pos,you.y_pos) < radius2)
{
dungeon_feature_type grid = grd[x][y];