summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ghost.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-06 18:18:01 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-06 18:18:01 +0000
commit41ed96cee585ee84bd08ff1e3aa2b900d5728afb (patch)
treee5286f7f57d4408acf41fcb67d5cc1d7e7bcb1bf /crawl-ref/source/ghost.cc
parent23d3e07de8fcf2587f6418591ff2da9cb10012f6 (diff)
downloadcrawl-ref-41ed96cee585ee84bd08ff1e3aa2b900d5728afb.tar.gz
crawl-ref-41ed96cee585ee84bd08ff1e3aa2b900d5728afb.zip
Add type fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3215 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ghost.cc')
-rw-r--r--crawl-ref/source/ghost.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/ghost.cc b/crawl-ref/source/ghost.cc
index 6afceb60ae..ed2cf8fe19 100644
--- a/crawl-ref/source/ghost.cc
+++ b/crawl-ref/source/ghost.cc
@@ -25,7 +25,7 @@ std::vector<ghost_demon> ghosts;
Order for looking for conjurations for the 1st & 2nd spell slots,
when finding spells to be remembered by a player's ghost:
*/
-static int search_order_conj[] = {
+static spell_type search_order_conj[] = {
SPELL_LEHUDIBS_CRYSTAL_SPEAR,
SPELL_BOLT_OF_DRAINING,
SPELL_AGONY,
@@ -56,7 +56,7 @@ static int search_order_conj[] = {
/*
Order for looking for summonings and self-enchants for the 3rd spell slot:
*/
-static int search_order_third[] = {
+static spell_type search_order_third[] = {
/* 0 */
SPELL_SYMBOL_OF_TORMENT,
SPELL_SUMMON_GREATER_DEMON,
@@ -80,7 +80,7 @@ static int search_order_third[] = {
go through conjs.
Note: Dig must be in misc2 (5th) position to work.
*/
-static int search_order_misc[] = {
+static spell_type search_order_misc[] = {
/* 0 */
SPELL_AGONY,
SPELL_BANISHMENT,