mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- fixed shifting of the current item in save/load menus
Virtual <New save game> item wasn't taken into account
This commit is contained in:
parent
438fa1b267
commit
c54f813ea9
1 changed files with 2 additions and 2 deletions
|
@ -260,7 +260,7 @@ void FSavegameManager::NotifyNewSave(const FString &file, const FString &title,
|
|||
if (okForQuicksave)
|
||||
{
|
||||
if (quickSaveSlot == nullptr || quickSaveSlot == (FSaveGameNode*)1 || forceQuicksave) quickSaveSlot = node;
|
||||
LastAccessed = LastSaved = i;
|
||||
LastAccessed = LastSaved = i - 1; // without <new save> item
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ void FSavegameManager::NotifyNewSave(const FString &file, const FString &title,
|
|||
if (okForQuicksave)
|
||||
{
|
||||
if (quickSaveSlot == nullptr || quickSaveSlot == (FSaveGameNode*)1 || forceQuicksave) quickSaveSlot = node;
|
||||
LastAccessed = LastSaved = index;
|
||||
LastAccessed = LastSaved = index - 1; // without <new save> item
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue