/* Normal */
else
{
-#ifdef JP
- mb_strlcpy(str, player_title[p_ptr->pclass][(p_ptr->lev - 1) / 5], 14);
-#else
- strncpy(str, player_title[p_ptr->pclass][(p_ptr->lev - 1) / 5], 13);
- str[13] = '\0';
-#endif
+ my_strcpy(str, player_title[p_ptr->pclass][(p_ptr->lev - 1) / 5], sizeof(str));
p = str;
}
{
char out_val[32];
- if ((p_ptr->prace == RACE_ANDROID) && !cheat_xtra)
- (void)strcpy(out_val, "*******");
- else
#ifdef JP
(void)sprintf(out_val, "%7ld", (long)p_ptr->exp);
#else
if (p_ptr->exp >= p_ptr->max_exp)
{
#ifdef JP
- put_str("·Ð¸³ ", ROW_EXP, 0);
+ if (p_ptr->prace == RACE_ANDROID) put_str("¶¯²½ ", ROW_EXP, 0);
+ else put_str("·Ð¸³ ", ROW_EXP, 0);
c_put_str(TERM_L_GREEN, out_val, ROW_EXP, COL_EXP + 5);
#else
- put_str("EXP ", ROW_EXP, 0);
+ if (p_ptr->prace == RACE_ANDROID) put_str("Cst ", ROW_EXP, 0);
+ else put_str("EXP ", ROW_EXP, 0);
c_put_str(TERM_L_GREEN, out_val, ROW_EXP, COL_EXP + 4);
#endif
prt_field(mimic_info[p_ptr->mimic_form].title, ROW_RACE, COL_RACE);
else
{
-#ifdef JP
char str[14];
- mb_strlcpy(str, rp_ptr->title, 14);
+ my_strcpy(str, rp_ptr->title, sizeof(str));
prt_field(str, ROW_RACE, COL_RACE);
-#else
- prt_field(rp_ptr->title, ROW_RACE, COL_RACE);
-#endif
}
/* prt_field(cp_ptr->title, ROW_CLASS, COL_CLASS); */
/* prt_field(ap_ptr->title, ROW_SEIKAKU, COL_SEIKAKU); */
/* Redraw Study Status */
p_ptr->redraw |= (PR_STUDY);
+
+ /* Redraw object recall */
+ p_ptr->window |= (PW_OBJECT);
}
}
update_flow();
}
- if (p_ptr->update & (PU_MON_LITE))
- {
- p_ptr->update &= ~(PU_MON_LITE);
- update_mon_lite();
- }
-
if (p_ptr->update & (PU_DISTANCE))
{
p_ptr->update &= ~(PU_DISTANCE);
- p_ptr->update &= ~(PU_MONSTERS);
+
+ /* Still need to call update_monsters(FALSE) after update_mon_lite() */
+ /* p_ptr->update &= ~(PU_MONSTERS); */
+
update_monsters(TRUE);
}
+ if (p_ptr->update & (PU_MON_LITE))
+ {
+ p_ptr->update &= ~(PU_MON_LITE);
+ update_mon_lite();
+ }
+
if (p_ptr->update & (PU_MONSTERS))
{
p_ptr->update &= ~(PU_MONSTERS);