summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spl-util.cc')
-rw-r--r--crawl-ref/source/spl-util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-util.cc b/crawl-ref/source/spl-util.cc
index b727117eb8..c3097b0e53 100644
--- a/crawl-ref/source/spl-util.cc
+++ b/crawl-ref/source/spl-util.cc
@@ -92,7 +92,7 @@ void init_spell_descs(void)
{
spell_desc &data = spelldata[i];
-#if DEBUG
+#ifdef DEBUG
if (data.id < SPELL_NO_SPELL || data.id >= NUM_SPELLS)
end(1, false, "spell #%d has invalid id %d", i, data.id);