mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-02-17 01:31:47 +00:00
When saving a game via menu, select and show new savegame
now it scrolls to the top of the list after saving, so one can see the newly created savegame.
This commit is contained in:
parent
8d8f345c25
commit
1d6ae1acc1
1 changed files with 2 additions and 0 deletions
|
@ -388,6 +388,8 @@ bool idSessionLocal::HandleSaveGameMenuCommand( idCmdArgs &args, int &icmd ) {
|
|||
|
||||
sessLocal.SaveGame( saveGameName );
|
||||
SetSaveGameGuiVars( );
|
||||
// DG: select item 0 => select savegame just created (should be on top as it's newest)
|
||||
guiActive->SetStateInt( "loadgame_sel_0", 0 );
|
||||
guiActive->StateChanged( com_frameTime );
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue