diff options
author | Max Horn | 2009-01-23 03:41:36 +0000 |
---|---|---|
committer | Max Horn | 2009-01-23 03:41:36 +0000 |
commit | 8f16458e9ba830fe80f177cc2fc3bcf2af84ebef (patch) | |
tree | 36236e2af1589bca848ce28d7606ef6e789431e8 /engines | |
parent | e4b013f616818f6da4cf7a1896f31d1429ef8f04 (diff) | |
download | scummvm-rg350-8f16458e9ba830fe80f177cc2fc3bcf2af84ebef.tar.gz scummvm-rg350-8f16458e9ba830fe80f177cc2fc3bcf2af84ebef.tar.bz2 scummvm-rg350-8f16458e9ba830fe80f177cc2fc3bcf2af84ebef.zip |
Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
svn-id: r36014
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agi/wagparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/wagparser.cpp b/engines/agi/wagparser.cpp index adf5a0a6cf..5ada824f3b 100644 --- a/engines/agi/wagparser.cpp +++ b/engines/agi/wagparser.cpp @@ -180,7 +180,7 @@ bool WagFileParser::parse(const Common::FSNode &node) { _parsedOk = false; // We haven't parsed the file yet - stream = node.openForReading(); // Open the file + stream = node.createReadStream(); // Open the file if (stream) { // Check that opening the file was succesful if (checkWagVersion(*stream)) { // Check that WinAGI version string is valid // It seems we've got a valid *.wag file so let's parse its properties from the start. |