diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-02-05 19:22:46 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-02-05 19:22:46 +0100 |
commit | 959f8c09f32e6b431bc4f7af8d1a5c296cefdafe (patch) | |
tree | 39b93225f9a1ce47af5015bef347ef3166382185 /src/init1.cc | |
parent | f099462e0ddb5e3304b06ea1d7727bd01d82453b (diff) |
Remove unused dungeon_info_type::next
Diffstat (limited to 'src/init1.cc')
-rw-r--r-- | src/init1.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/init1.cc b/src/init1.cc index 7083a5f3..9d221c01 100644 --- a/src/init1.cc +++ b/src/init1.cc @@ -7876,18 +7876,17 @@ errr init_d_info_txt(FILE *fp) if (buf[0] == 'W') { int min_lev, max_lev; - int min_plev, next; + int min_plev; int min_alloc, max_chance; /* Scan for the values */ - if (6 != sscanf(buf + 2, "%d:%d:%d:%d:%d:%d", - &min_lev, &max_lev, &min_plev, &next, &min_alloc, &max_chance)) return (1); + if (5 != sscanf(buf + 2, "%d:%d:%d:%d:%d", + &min_lev, &max_lev, &min_plev, &min_alloc, &max_chance)) return (1); /* Save the values */ d_ptr->mindepth = min_lev; d_ptr->maxdepth = max_lev; d_ptr->min_plev = min_plev; - d_ptr->next = next; d_ptr->min_m_alloc_level = min_alloc; d_ptr->max_m_alloc_chance = max_chance; |