summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
authorpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-23 06:27:58 +0000
committerpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-23 06:27:58 +0000
commit922cba628d3d6377574a90c7a817c10d84ed7f85 (patch)
treeae983cf4a6d1e2dc85fd5c58754f2ec06d25afae /crawl-ref/source/files.cc
parent7c2f45cfd1fed2a890780bdf2b7e3d1cd105dfb5 (diff)
downloadcrawl-ref-922cba628d3d6377574a90c7a817c10d84ed7f85.tar.gz
crawl-ref-922cba628d3d6377574a90c7a817c10d84ed7f85.zip
"stashes" was both a global variable and a member variable... confusing!
Renamed both of them. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3827 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index ec3ec235aa..e473a1a23a 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -1220,7 +1220,7 @@ void save_game(bool leave_game, const char *farewellmsg)
FILE *stashf = fopen(stashFile.c_str(), "wb");
if (stashf)
{
- stashes.save(stashf);
+ StashTrack.save(stashf);
fclose(stashf);
DO_CHMOD_PRIVATE(stashFile.c_str());
}
@@ -1421,7 +1421,7 @@ void restore_game(void)
FILE *stashf = fopen(stashFile.c_str(), "rb");
if (stashf)
{
- stashes.load(stashf);
+ StashTrack.load(stashf);
fclose(stashf);
}