* Small chests often contain "gold", while Large chests always contain
* items. Wooden chests contain 2 items, Iron chests contain 4 items,
* and Steel chests contain 6 items. The "value" of the items in a
-* chest is based on the "power" of the chest, which is in turn based
+* chest is based on the "power" of the chest, which is in current_world_ptr->game_turn based
* on the level on which the chest is generated.
* </pre>
*/
object_type forge;
object_type *q_ptr;
- object_type *o_ptr = &o_list[o_idx];
+ object_type *o_ptr = ¤t_floor_ptr->o_list[o_idx];
/* Small chests often hold "gold" */
{
int i, trap;
- object_type *o_ptr = &o_list[o_idx];
+ object_type *o_ptr = ¤t_floor_ptr->o_list[o_idx];
int mon_level = o_ptr->xtra3;