[Scummvm-git-logs] scummvm master -> 6abead118e782139f94fdc81cd1638a636f8857e

dreammaster dreammaster at scummvm.org
Sat Mar 31 23:56:00 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
6abead118e XEEN: Properly flush generated save archive data when loading new save


Commit: 6abead118e782139f94fdc81cd1638a636f8857e
    https://github.com/scummvm/scummvm/commit/6abead118e782139f94fdc81cd1638a636f8857e
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-03-31T17:55:58-04:00

Commit Message:
XEEN: Properly flush generated save archive data when loading new save

Changed paths:
    engines/xeen/files.cpp


diff --git a/engines/xeen/files.cpp b/engines/xeen/files.cpp
index 48c23d7..5cf38f3 100644
--- a/engines/xeen/files.cpp
+++ b/engines/xeen/files.cpp
@@ -480,6 +480,7 @@ Common::SeekableReadStream *SaveArchive::createReadStreamForMember(uint16 id) co
 }
 
 void SaveArchive::load(Common::SeekableReadStream &stream) {
+	_newData.clear();
 	loadIndex(stream);
 
 	delete[] _data;





More information about the Scummvm-git-logs mailing list