diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-14 03:50:17 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-14 03:50:17 -0800 |
commit | 704b61fedeafc27485cbe688b135b3f8ebd00955 (patch) | |
tree | e8e7663cd070b31c2b0d5f8189f6de1adb0d6e24 /crawl-ref/source/exclude.cc | |
parent | 843ae0761b1d04d05208b0a74d9d721e6ebbaeb5 (diff) | |
download | crawl-ref-704b61fedeafc27485cbe688b135b3f8ebd00955.tar.gz crawl-ref-704b61fedeafc27485cbe688b135b3f8ebd00955.zip |
Reset tag_minor_version to 0
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)); } } |