summaryrefslogtreecommitdiff
path: root/src/q_rand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/q_rand.cc')
-rw-r--r--src/q_rand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/q_rand.cc b/src/q_rand.cc
index 177ba7a9..e3860dd2 100644
--- a/src/q_rand.cc
+++ b/src/q_rand.cc
@@ -270,7 +270,7 @@ static void do_get_new_obj(int y, int x)
/* Mega-Hack -- Preserve the artifact */
if (o_ptr->tval == TV_RANDART)
{
- random_artifacts[o_ptr->sval].generated = FALSE;
+ game->random_artifacts[o_ptr->sval].generated = FALSE;
}
else if (k_info[o_ptr->k_idx].flags & TR_NORM_ART)
{