mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
- savegame name generation fix for SW.
This commit is contained in:
parent
3bd36bfb9d
commit
a4c5fbe295
1 changed files with 2 additions and 4 deletions
|
@ -245,8 +245,7 @@ bool GameInterface::SaveGame(FSaveGameNode *sv)
|
|||
Saveable_Init();
|
||||
|
||||
|
||||
auto game_name = G_BuildSaveName(sv->Filename);
|
||||
OpenSaveGameForWrite(game_name);
|
||||
OpenSaveGameForWrite(sv->Filename);
|
||||
// workaround until the level info here has been transitioned.
|
||||
G_WriteSaveHeader(sv->SaveTitle);
|
||||
fil = WriteSavegameChunk("snapshot.sw");
|
||||
|
@ -720,8 +719,7 @@ bool GameInterface::LoadGame(FSaveGameNode* sv)
|
|||
|
||||
Saveable_Init();
|
||||
|
||||
auto game_name = G_BuildSaveName(sv->Filename);
|
||||
OpenSaveGameForRead(game_name);
|
||||
OpenSaveGameForRead(sv->Filename);
|
||||
|
||||
auto filr = ReadSavegameChunk("snapshot.sw");
|
||||
if (!filr.isOpen()) return false;
|
||||
|
|
Loading…
Reference in a new issue