diff options
Diffstat (limited to 'crawl-ref/source/exclude.cc')
-rw-r--r-- | crawl-ref/source/exclude.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/crawl-ref/source/exclude.cc b/crawl-ref/source/exclude.cc index 416fff369b..25728fe67a 100644 --- a/crawl-ref/source/exclude.cc +++ b/crawl-ref/source/exclude.cc @@ -406,11 +406,8 @@ void unmarshallExcludes(reader& inf, char minorVersion, exclvec &excludes) const int radius = unmarshallShort(inf); bool autoexcl = false; monster_type mon = MONS_NO_MONSTER; - if (minorVersion >= TAG_ANNOTATE_EXCL) - { - autoexcl = unmarshallBoolean(inf); - mon = static_cast<monster_type>(unmarshallShort(inf)); - } + autoexcl = unmarshallBoolean(inf); + mon = static_cast<monster_type>(unmarshallShort(inf)); excludes.push_back(travel_exclude(c, radius, autoexcl, mon)); } } |