summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-util.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-03-08 02:54:54 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-03-08 17:49:53 +0100
commitc231b49e0d2ccb9c2adb01cefa3bf64bf75d644d (patch)
treea6cec0d861d9252f78a0e8c8c2b65515b7ccce30 /crawl-ref/source/spl-util.h
parent6c938707811eee23d064689f9a9ab1ad5bbc110b (diff)
downloadcrawl-ref-c231b49e0d2ccb9c2adb01cefa3bf64bf75d644d.tar.gz
crawl-ref-c231b49e0d2ccb9c2adb01cefa3bf64bf75d644d.zip
Remove the Holy spell school.
It has been gone for players since forever, has no effect on monsters except for a redundant check, needs to be kludged around to exclude.
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;