diff options
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r-- | crawl-ref/source/externs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h index d1fe6e9107..df541c675f 100644 --- a/crawl-ref/source/externs.h +++ b/crawl-ref/source/externs.h @@ -599,7 +599,7 @@ public: int burden; burden_state_type burden_state; - FixedVector<unsigned char, 25> spells; + FixedVector<spell_type, 25> spells; char spell_no; unsigned char char_direction; // @@ -811,13 +811,13 @@ public: extern player you; -class monster_spells : public FixedVector<int, NUM_MONSTER_SPELL_SLOTS> +class monster_spells : public FixedVector<spell_type, NUM_MONSTER_SPELL_SLOTS> { public: monster_spells() - : FixedVector<int, NUM_MONSTER_SPELL_SLOTS>(MS_NO_SPELL) + : FixedVector<spell_type, NUM_MONSTER_SPELL_SLOTS>(SPELL_NO_SPELL) { } - void clear() { init(MS_NO_SPELL); } + void clear() { init(SPELL_NO_SPELL); } }; struct mon_attack_def |