diff options
Diffstat (limited to 'engines/xeen/saves.cpp')
-rw-r--r-- | engines/xeen/saves.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/xeen/saves.cpp b/engines/xeen/saves.cpp index 85ab60bc12..61022a31cb 100644 --- a/engines/xeen/saves.cpp +++ b/engines/xeen/saves.cpp @@ -45,8 +45,8 @@ void OutFile::finalize() { /*------------------------------------------------------------------------*/ -SavesManager::SavesManager(XeenEngine *vm, Party &party, Roster &roster) : - BaseCCArchive(), _vm(vm), _party(party), _roster(roster) { +SavesManager::SavesManager(XeenEngine *vm, Party &party) : + BaseCCArchive(), _vm(vm), _party(party) { SearchMan.add("saves", this, 0, false); _data = nullptr; _wonWorld = false; @@ -113,7 +113,7 @@ void SavesManager::load(Common::SeekableReadStream *stream) { // Load in the character stats and active party Common::SeekableReadStream *chr = createReadStreamForMember("maze.chr"); Common::Serializer sChr(chr, nullptr); - _roster.synchronize(sChr); + _party._roster.synchronize(sChr); delete chr; Common::SeekableReadStream *pty = createReadStreamForMember("maze.pty"); @@ -158,7 +158,7 @@ void SavesManager::reset() { File fChar("maze.chr", gameCur); Common::Serializer sChar(&fChar, nullptr); - _roster.synchronize(sChar); + _party._roster.synchronize(sChar); fChar.close(); } |