*/
s16b tokenize(char *buf, s16b num, char **tokens, BIT_FLAGS mode)
{
- int i = 0;
+ s16b i = 0;
char *s = buf;
/* Process "C:<str>" -- create keymap */
case 'C':
{
- BIT_FLAGS mode;
+ int mode;
char tmp[1024];
if (tokenize(buf+2, 2, zz, TOKENIZE_CHECKQUOTE) != 2) return 1;
/* If the player is wielding one? */
if (o_ptr->k_idx)
{
- s16b energy_fire = bow_energy(o_ptr->sval);
+ ENERGY energy_fire = bow_energy(o_ptr->sval);
/* Calculate shots per round */
shots = p_ptr->num_fire * 100;
(void)strcpy(p_ptr->died_from, _("(元気に生きている)", "(alive and well)"));
/* HACK -- don't get sanity blast on updating view */
- hack_mind = FALSE;
+ is_loading_now = FALSE;
/* Update stuff */
update_stuff();
mproc_init();
/* HACK -- reset the hackish flag */
- hack_mind = TRUE;
+ is_loading_now = TRUE;
}