mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-04-22 23:50:58 +00:00
- Take quicksave slots into account for the new savegame list order.
This commit is contained in:
parent
a62c7fc31c
commit
dadbc828dc
1 changed files with 10 additions and 2 deletions
|
@ -134,16 +134,24 @@ int FSavegameManager::InsertSaveNode(FSaveGameNode *node)
|
|||
unsigned int i = 0;
|
||||
if (!oldsaveorder)
|
||||
{
|
||||
if (!strstr(node->Filename.GetChars(),"auto"))
|
||||
if (!strstr(node->Filename.GetChars(),"auto") && !strstr(node->Filename.GetChars(),"quick"))
|
||||
{
|
||||
for (i; i < SaveGames.Size(); i++)
|
||||
{
|
||||
if (!strstr(SaveGames[i]->Filename.GetChars(),"auto") && node->Filename.CompareNoCase(SaveGames[i]->Filename) >= 0)
|
||||
if (!strstr(SaveGames[i]->Filename.GetChars(),"auto") && !strstr(SaveGames[i]->Filename.GetChars(),"quick")
|
||||
&& node->Filename.CompareNoCase(SaveGames[i]->Filename) >= 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strstr(node->Filename.GetChars(),"quick"))
|
||||
{
|
||||
for (i; strstr(SaveGames[i]->Filename.GetChars(),"auto"); i++) {}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue