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-06-22 20:12:04 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-22 20:12:04 +0000
commit99be0be3c7f5bd4fa41cde1bf7f4f8b4c9569efc (patch)
treedf9ae0845d78719ec8c1fd2033ae1224a80ed3f3 /crawl-ref/source/effects.cc
parentd6cdd1b6e2bd4bcd51221ef3113a10bde13867ba (diff)
downloadcrawl-ref-99be0be3c7f5bd4fa41cde1bf7f4f8b4c9569efc.tar.gz
crawl-ref-99be0be3c7f5bd4fa41cde1bf7f4f8b4c9569efc.zip
Fix ?immolation not being autoID'd upon reading.
Fix ?uselessness not using the misc. descriptions. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6051 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 2d177bcdf4..254f3fc7f0 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -2107,14 +2107,14 @@ bool forget_inventory(bool quiet)
return (items_forgotten > 0);
}
-// returns true if there was a visible change
+// Returns true if there was a visible change.
bool vitrify_area(int radius)
{
if (radius < 2)
return (false);
const int radius2 = radius * radius;
- // this hinges on clear wall types having the same order as non-clear ones
+ // 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 )