summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tutorial.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-26 16:39:35 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-26 16:39:35 +0000
commit3df2c03fc7434ef10dc8608617425c0969d18916 (patch)
treef2b016f808e573f0ac81d584cba9774899465d8c /crawl-ref/source/tutorial.cc
parent9c48662001a42b910d8e098a64673bd0636ca3d7 (diff)
downloadcrawl-ref-3df2c03fc7434ef10dc8608617425c0969d18916.tar.gz
crawl-ref-3df2c03fc7434ef10dc8608617425c0969d18916.zip
Add a FAQ part to the database, which can be accessed from the help
screen. This is intended as a pointer for general questions, not for complicated information about rare, specific occurences. Feel free to change stuff, or add more. The Q:keyword/A:keyword solution is pretty rough, but I couldn't get the database not to turn the questions into all lowercase otherwise. If someone knows of a better method, I'm all ears! git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7981 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tutorial.cc')
-rw-r--r--crawl-ref/source/tutorial.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc
index f0aabd9cc0..0a3e4d3529 100644
--- a/crawl-ref/source/tutorial.cc
+++ b/crawl-ref/source/tutorial.cc
@@ -271,8 +271,8 @@ static job_type _get_tutorial_job(unsigned int type)
// position into normal closed doors.
void tutorial_zap_secret_doors()
{
- for ( radius_iterator ri(you.pos(), 10, true, false); ri; ++ri )
- if ( grd(*ri) == DNGN_SECRET_DOOR )
+ for (radius_iterator ri(you.pos(), 10, true, false); ri; ++ri)
+ if (grd(*ri) == DNGN_SECRET_DOOR)
grd(*ri) = DNGN_CLOSED_DOOR;
}