Fixed the autosave dialog being stuck on the screen when starting a map (map or devmap) via the command line, or before selecting Doom 3.

This commit is contained in:
Jonathan Young 2013-10-19 16:43:39 +10:00
parent 2555b804d6
commit db626df078

View file

@ -1050,13 +1050,13 @@ HandleCommonErrors
*/ */
bool HandleCommonErrors( const idSaveLoadParms& parms ) bool HandleCommonErrors( const idSaveLoadParms& parms )
{ {
common->Dialog().ShowSaveIndicator( false );
if( parms.GetError() == SAVEGAME_E_NONE ) if( parms.GetError() == SAVEGAME_E_NONE )
{ {
return true; return true;
} }
common->Dialog().ShowSaveIndicator( false );
if( parms.GetError() & SAVEGAME_E_CORRUPTED ) if( parms.GetError() & SAVEGAME_E_CORRUPTED )
{ {
// This one might need to be handled by the game // This one might need to be handled by the game