Clean up some spell-related code
Add two helper functions and use those outside of spell.c, instead of iterating through all the spells.
This commit is contained in:
@@ -2536,6 +2536,8 @@ extern int tport_spell(int);
|
||||
extern void losespells(void);
|
||||
extern int dovspell(void);
|
||||
extern void initialspell(struct obj *);
|
||||
extern boolean known_spell(short);
|
||||
extern int spell_idx(short);
|
||||
|
||||
/* ### steal.c ### */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user