Searched refs:cst_frac (Results 1 – 6 of 6) sorted by relevance
222 s16b cst_frac; /* 1/10000 */
4094 p_ptr->cst_frac += s;4095 if (p_ptr->cst_frac >= 10000) {4096 p_ptr->cst_frac -= 10000;4098 if (p_ptr->cst == p_ptr->mst) p_ptr->cst_frac = 0;
736 wr_s16b(p_ptr->cst_frac); in wr_extra()
721 p_ptr->cst_frac = 0; in quaff_potion()842 p_ptr->cst_frac = 0; in quaff_potion()
1647 rd_s16b(&p_ptr->cst_frac); in rd_extra()
2005 s16b cst_frac; /* 1/10000 */ member