From b7392f433201f7051bd3ee5c19911ecf047ede9b Mon Sep 17 00:00:00 2001 From: Stefan O'Rear Date: Mon, 4 Jan 2010 23:48:39 -0800 Subject: Remove some old save code I would appreciate it if people would use TAG_MINOR constants instead of just sprinkling magic numbers in the save code. Stuff like this makes it impossible to systematically expunge old minor code, since we do that by looking for uses of the removed TAG_MINOR constants. --- crawl-ref/source/tags.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'crawl-ref/source/tags.cc') diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc index 612f938b56..8309c17566 100644 --- a/crawl-ref/source/tags.cc +++ b/crawl-ref/source/tags.cc @@ -1646,10 +1646,6 @@ static void tag_read_you_items(reader &th, char minorVersion) for (j = 0; j < count_s; ++j) you.seen_spell[j] = unmarshallByte(th); -#if (TAG_MAJOR_VERSION == 14) -if (th.getMinorVersion() >= 1) -{ -#endif count_s = unmarshallShort(th); if (count_s > NUM_WEAPONS) count_s = NUM_WEAPONS; @@ -1661,10 +1657,6 @@ if (th.getMinorVersion() >= 1) count_s = NUM_ARMOURS; for (j = 0; j < count_s; ++j) you.seen_armour[j] = unmarshallLong(th); -#if (TAG_MAJOR_VERSION == 14) -} -#endif - } static PlaceInfo unmarshallPlaceInfo(reader &th) -- cgit v1.2.3-54-g00ecf