summaryrefslogtreecommitdiff
path: root/src/q_rand.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:57 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:57 +0100
commitf0c1628270e1d6c3aeaac89d3eaef910807cd2c8 (patch)
treebd38c55fd8fd307fa05e4441c52c937380a9164b /src/q_rand.cc
parent7e0812e98805b1ca7a9480090a71d8a6ec830931 (diff)
Remove weird hardcoded reference to r_info[2]
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 ec84db69..94adef86 100644
--- a/src/q_rand.cc
+++ b/src/q_rand.cc
@@ -37,7 +37,7 @@ void initialize_random_quests(int n)
for (i = 0; i < n; i++)
{
- monster_race *r_ptr = &r_info[2];
+ monster_race *r_ptr = nullptr;
int rl = (lvl / 1000) + 1;