Don't re-read game prefs at reset; it's a hack to load game prefs

and mappings after changing the game.  Do it in ChangeCurrentGame
instead.  Don't expose ReadGamePrefsFromDisk.  (This code path
is still a little overcomplicated, but it's a bit simpler now ...)
This commit is contained in:
Glenn Maynard
2005-05-19 05:12:30 +00:00
parent 0190f4024f
commit acc86207d0
2 changed files with 13 additions and 8 deletions
-1
View File
@@ -12,7 +12,6 @@ void ApplyGraphicOptions();
void NORETURN HandleException( CString error );
void ExitGame();
void ResetGame( bool ReturnToFirstScreen=true );
void ReadGamePrefsFromDisk( bool bSwitchToLastPlayedGame=true );
void SaveGamePrefsToDisk();
void ChangeCurrentGame( const Game* g );
void FocusChanged( bool bHasFocus );