summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-11-23 17:46:51 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-11-27 00:23:08 +0100
commit0f7d061381f34f24e4ab4bf5daf0121d529fffd3 (patch)
tree2ecd4adec57d331c3c14a092b7224a45c4e4b299 /crawl-ref/source/beam.h
parent78e00ab081e5ee79982b53124ee5af13a43c8871 (diff)
downloadcrawl-ref-0f7d061381f34f24e4ab4bf5daf0121d529fffd3.tar.gz
crawl-ref-0f7d061381f34f24e4ab4bf5daf0121d529fffd3.zip
Make I and z? usable again in debug builds.
Since 1f7c9b4d, if you know even a couple beam spells, you need to go through several --More--s every time a spell list is shown. These tracers are not really useful for debug purposes as you can get a regular tracer if you want, so there's no reason to show them all.
Diffstat (limited to 'crawl-ref/source/beam.h')
-rw-r--r--crawl-ref/source/beam.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.h b/crawl-ref/source/beam.h
index 9e41d40be0..881dd3e47a 100644
--- a/crawl-ref/source/beam.h
+++ b/crawl-ref/source/beam.h
@@ -107,6 +107,9 @@ struct bolt
// this is required in order to change mulch rate on these types
bool animate; // Do we draw animations?
ac_type ac_rule; // How does defender's AC affect damage.
+#ifdef DEBUG_DIAGNOSTICS
+ bool quiet_debug; // Disable any debug spam.
+#endif
// Various callbacks.
vector<range_used_func> range_funcs;