AGOS: Rename ArchiveMan's open to createReadStreamForMember to match our Archive API.
This commit is contained in:
parent
a7cc5bd301
commit
a231f9d5dd
6 changed files with 20 additions and 20 deletions
|
@ -1019,7 +1019,7 @@ bool AGOSEngine::loadGame(const char *filename, bool restartMode) {
|
|||
|
||||
if (restartMode) {
|
||||
// Load restart state
|
||||
f = _archives.open(filename);
|
||||
f = _archives.createReadStreamForMember(filename);
|
||||
} else {
|
||||
f = _saveFileMan->openForLoading(filename);
|
||||
}
|
||||
|
@ -1193,7 +1193,7 @@ bool AGOSEngine_Elvira2::loadGame(const char *filename, bool restartMode) {
|
|||
|
||||
if (restartMode) {
|
||||
// Load restart state
|
||||
f = _archives.open(filename);
|
||||
f = _archives.createReadStreamForMember(filename);
|
||||
} else {
|
||||
f = _saveFileMan->openForLoading(filename);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue