p_ptr->mane_dam[j] = p_ptr->mane_dam[j + 1];
}
}
- new_mane = FALSE;
+ p_ptr->new_mane = FALSE;
p_ptr->redraw |= (PR_IMITATION);
}
if (p_ptr->action == ACTION_LEARN)
{
- new_mane = FALSE;
+ p_ptr->new_mane = FALSE;
p_ptr->redraw |= (PR_STATE);
}
extern MONSTER_IDX pet_t_m_idx;
extern MONSTER_IDX riding_t_m_idx;
extern MONRACE_IDX today_mon;
-
-extern bool new_mane;
p_ptr->mane_spell[p_ptr->mane_num] = thrown_spell - 96;
p_ptr->mane_dam[p_ptr->mane_num] = dam;
p_ptr->mane_num++;
- new_mane = TRUE;
+ p_ptr->new_mane = TRUE;
p_ptr->redraw |= (PR_IMITATION);
}
p_ptr->mane_spell[p_ptr->mane_num] = thrown_spell - RF4_SPELL_START;
p_ptr->mane_dam[p_ptr->mane_num] = dam;
p_ptr->mane_num++;
- new_mane = TRUE;
+ p_ptr->new_mane = TRUE;
p_ptr->redraw |= (PR_IMITATION);
}
sound(SOUND_STUDY);
- new_mane = TRUE;
+ p_ptr->new_mane = TRUE;
p_ptr->redraw |= (PR_STATE);
}
}
case ACTION_LEARN:
{
msg_print(_("学習をやめた。", "You stop Learning"));
- new_mane = FALSE;
+ p_ptr->new_mane = FALSE;
break;
}
case ACTION_KAMAE:
if (p_ptr->action == ACTION_LEARN)
{
msg_print(_("学習が続けられない!", "You cannot continue Learning!"));
- new_mane = FALSE;
+ p_ptr->new_mane = FALSE;
p_ptr->redraw |= (PR_STATE);
p_ptr->action = ACTION_NONE;
SPELL_IDX mane_spell[MAX_MANE];
HIT_POINT mane_dam[MAX_MANE];
s16b mane_num;
+ bool new_mane;
#define CONCENT_RADAR_THRESHOLD 2
#define CONCENT_TELE_THRESHOLD 5
MONSTER_IDX today_mon;
-bool new_mane;
-
#ifdef CHUUKEI
bool chuukei_server;
bool chuukei_client;
case ACTION_LEARN:
{
strcpy(text, _("学習", "lear"));
- if (new_mane) attr = TERM_L_RED;
+ if (p_ptr->new_mane) attr = TERM_L_RED;
break;
}
case ACTION_FISH:
if (p_ptr->mane_num)
{
TERM_COLOR attr;
- if (new_mane) attr = TERM_L_RED;
+ if (p_ptr->new_mane) attr = TERM_L_RED;
else attr = TERM_WHITE;
c_put_str(attr, _("まね", "Imit"), row_study, col_study);
}