summaryrefslogtreecommitdiff
path: root/src/cmd5.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-03-22 19:05:43 +0100
committerBardur Arantsson <bardur@scientician.net>2015-03-22 19:05:43 +0100
commit5d2af4a03a953e3891dae144076f8416faa5d8fd (patch)
tree1b93667bcb575cdcfccc57801863b59f05eaad27 /src/cmd5.hpp
parent97c42872e9da98a7aa4a1d5fe70bfc1e8adfa68c (diff)
Limit is_spell_ok() parameter to pval instead of object_type
Diffstat (limited to 'src/cmd5.hpp')
-rw-r--r--src/cmd5.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd5.hpp b/src/cmd5.hpp
index 497b9b86..39cfeef0 100644
--- a/src/cmd5.hpp
+++ b/src/cmd5.hpp
@@ -9,7 +9,7 @@ extern void fetch(int dir, int wgt, bool_ require_los);
extern void do_poly_self(void);
extern cptr symbiote_name(bool_ capitalize);
extern int use_symbiotic_power(int r_idx, bool_ great, bool_ only_number, bool_ no_cost);
-extern bool_ is_ok_spell(s32b spell_idx, object_type *o_ptr);
+extern bool_ is_ok_spell(s32b spell_idx, s32b pval);
extern s32b get_school_spell(cptr do_what, s16b force_book);
extern void do_cmd_copy_spell(void);
extern void cast_school_spell(void);