/* Get local object */
q_ptr = &forge;
-
- /* Wipe the object */
object_wipe(q_ptr);
/* Read the item */
static void rd_options(void)
{
int i, n;
-
byte b;
-
u16b c;
BIT_FLAGS flag[8];
BIT_FLAGS mask[8];
-
- /*** Oops ***/
-
/* Ignore old options */
strip_bytes(16);
-
/*** Special info */
/* Read "delay_factor" */
mana_warn = b;
}
-
/*** Cheating options ***/
rd_u16b(&c);
p_ptr->realm1 = (REALM_IDX)tmp8u;
rd_byte(&tmp8u);
p_ptr->realm2 = (REALM_IDX)tmp8u;
+ rd_byte(&tmp8u);
if (z_older_than(10, 4, 4))
{
for (i = 0; i < 6; i++) rd_s16b(&p_ptr->stat_max_max[i]);
for (i = 0; i < 6; i++) rd_s16b(&p_ptr->stat_cur[i]);
-
+ strip_bytes(24);
rd_s32b(&p_ptr->au);
rd_s32b(&p_ptr->max_exp);
p_ptr->autopick_autoregister = tmp8u ? TRUE : FALSE;
rd_byte(&tmp8u);
+ rd_byte(&tmp8u);
p_ptr->action = (ACTION_IDX)tmp8u;
if (!z_older_than(10, 4, 3))
{
/* Get local object */
q_ptr = &forge;
-
- /* Wipe the object */
object_wipe(q_ptr);
/* Read the item */
/* Close the file */
my_fclose(fff);
-
- /* Result */
return (err);
}
/* Restore old knowledge */
kanji_code = old_kanji_code;
-
- /* Result */
return ok;
}