summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-08-06 00:59:09 -0400
committerNeil Moore <neil@s-z.org>2014-08-06 01:04:53 -0400
commit17e225f897e91837dabf6206a81354df7091e442 (patch)
tree4e250c93ee1111b90a682a089e821937d589d2ca /crawl-ref/source/mon-util.cc
parent0ca2a48c7e8d7454b609b9156c9ce56e04e891e3 (diff)
downloadcrawl-ref-17e225f897e91837dabf6206a81354df7091e442.tar.gz
crawl-ref-17e225f897e91837dabf6206a81354df7091e442.zip
Adjust mspell_list definition.
Make it static; and to match the other data headers (mon-data.h etc.), move the whole definition into mon-spll.h and remove the include guards there.
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 727e0de4f8..dbce2ded97 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -78,11 +78,7 @@ static bool initialised_randmons = false;
static vector<monster_type> monsters_by_habitat[NUM_HABITATS];
static vector<monster_type> species_by_habitat[NUM_HABITATS];
-const mon_spellbook mspell_list[] =
-{
#include "mon-spll.h"
-};
-
#include "mon-data.h"
#define MONDATASIZE ARRAYSZ(mondata)