TITANIC: Fix OutSaveFile usage

This commit is contained in:
Alexander Tkachev 2016-08-03 18:30:42 +06:00
parent 02a997e468
commit ea360ef8f2

View File

@ -278,7 +278,7 @@ public:
* Set up a stream for write access
*/
virtual void open(Common::OutSaveFile *stream) {
SimpleFile::open(Common::wrapCompressedWriteStream(stream));
SimpleFile::open(new Common::OutSaveFile(Common::wrapCompressedWriteStream(stream)));
}
};