* The "known" should be TRUE for cast/pray, FALSE for study
* </pre>
*/
-static int get_spell(COMMAND_CODE *sn, cptr prompt, OBJECT_SUBTYPE_VALUE sval, bool learned, REALM_IDX use_realm)
+static int get_spell(SPELL_IDX *sn, cptr prompt, OBJECT_SUBTYPE_VALUE sval, bool learned, REALM_IDX use_realm)
{
int i;
SPELL_IDX spell = -1;
MONSTER_IDX *who;
u16b dummy_why;
int max_pet = 0;
- int cu, cv;
+ bool_hack cu, cv;
cu = Term->scr->cu;
cv = Term->scr->cv;
*/
void do_cmd_pet(void)
{
- SPELL_IDX i = 0;
+ COMMAND_CODE i = 0;
int num;
int powers[36];
cptr power_desc[36];