summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.cc
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2010-01-04 23:48:39 -0800
committerStefan O'Rear <stefanor@cox.net>2010-01-04 23:48:39 -0800
commitb7392f433201f7051bd3ee5c19911ecf047ede9b (patch)
tree9f194eadd04d788f89782dcdc2f9c9cd53714a70 /crawl-ref/source/tags.cc
parentd4ad9bb7b61db9867490f8ad57ccfac681d58de4 (diff)
downloadcrawl-ref-b7392f433201f7051bd3ee5c19911ecf047ede9b.tar.gz
crawl-ref-b7392f433201f7051bd3ee5c19911ecf047ede9b.zip
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.
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r--crawl-ref/source/tags.cc8
1 files changed, 0 insertions, 8 deletions
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)