- rd_u32b(&p_ptr->spell_learned1);
- rd_u32b(&p_ptr->spell_learned2);
- rd_u32b(&p_ptr->spell_worked1);
- rd_u32b(&p_ptr->spell_worked2);
- rd_u32b(&p_ptr->spell_forgotten1);
- rd_u32b(&p_ptr->spell_forgotten2);
+ rd_u32b(&creature_ptr->spell_learned1);
+ rd_u32b(&creature_ptr->spell_learned2);
+ rd_u32b(&creature_ptr->spell_worked1);
+ rd_u32b(&creature_ptr->spell_worked2);
+ rd_u32b(&creature_ptr->spell_forgotten1);
+ rd_u32b(&creature_ptr->spell_forgotten2);