From 704b61fedeafc27485cbe688b135b3f8ebd00955 Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Sat, 14 Nov 2009 03:50:17 -0800 Subject: Reset tag_minor_version to 0 --- crawl-ref/source/exclude.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/exclude.cc') 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(unmarshallShort(inf)); - } + autoexcl = unmarshallBoolean(inf); + mon = static_cast(unmarshallShort(inf)); excludes.push_back(travel_exclude(c, radius, autoexcl, mon)); } } -- cgit v1.2.3-54-g00ecf