summaryrefslogtreecommitdiff
path: root/src/q_rand.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2017-05-02 19:20:57 +0200
committerBardur Arantsson <bardur@scientician.net>2017-05-02 19:20:57 +0200
commit2c8b8579faf729b9cf21b8b2d827f0e482570bd3 (patch)
tree7c258a9008d00ff1ec54de578d092e370b90cd95 /src/q_rand.cc
parentfdb532aec5234db77a9111d219f8a870d660c4fc (diff)
Move random_artifacts to Game struct
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)
{