summaryrefslogtreecommitdiff
path: root/src/init1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:58 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:58 +0100
commit7fce5e3c4d9c6700786828a6b82577fa95499217 (patch)
tree95dbe6c406dc4e54dff2897a2e73ae7960f9cb1a /src/init1.cc
parent560ebe18ecf165dcfffa2d57870f01f1099be44c (diff)
Remove ra_head
Diffstat (limited to 'src/init1.cc')
-rw-r--r--src/init1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init1.cc b/src/init1.cc
index d821749..1d8d30d 100644
--- a/src/init1.cc
+++ b/src/init1.cc
@@ -6940,7 +6940,7 @@ errr init_ra_info_txt(FILE *fp, char *buf)
if (i < error_idx) return (4);
/* Verify information */
- if (i >= ra_head->info_num) return (2);
+ if (i >= max_ra_idx) return (2);
/* Save the index */
error_idx = i;