summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spl-util.h')
-rw-r--r--crawl-ref/source/spl-util.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h
index 664dc18dde..4107785a67 100644
--- a/crawl-ref/source/spl-util.h
+++ b/crawl-ref/source/spl-util.h
@@ -26,10 +26,9 @@ enum spschool_flag_type
SPTYP_POISON = 1<<10,
SPTYP_EARTH = 1<<11,
SPTYP_AIR = 1<<12,
- SPTYP_HOLY = 1<<13,
- SPTYP_LAST_EXPONENT = 13, //jmf: ``NUM_SPELL_TYPES'' kinda useless
- NUM_SPELL_TYPES = 15,
- SPTYP_RANDOM = 1<<14,
+ SPTYP_LAST_EXPONENT = 12,
+ SPTYP_LAST_SCHOOL = 1<<SPTYP_LAST_EXPONENT,
+ SPTYP_RANDOM = 1<<(SPTYP_LAST_EXPONENT + 1),
};
struct bolt;