summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r--crawl-ref/source/stash.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc
index f862c21044..dc77699437 100644
--- a/crawl-ref/source/stash.cc
+++ b/crawl-ref/source/stash.cc
@@ -136,14 +136,14 @@ static void fully_identify_item(item_def *item)
static void save_item(FILE *file, const item_def &item)
{
- tagHeader th(file);
- marshallItem(th, item);
+ writer outf(file);
+ marshallItem(outf, item);
}
static void load_item(FILE *file, item_def &item)
{
- tagHeader th(file);
- unmarshallItem(th, item);
+ reader inf(file);
+ unmarshallItem(inf, item);
}
bool Stash::aggressive_verify = true;