call SONGMAN->SetPreferences when PREFSMAN->m_bAutogenSteps

changes
This commit is contained in:
Glenn Maynard
2004-06-05 08:11:00 +00:00
parent 1eab5c9f1d
commit 398eb05fcb
3 changed files with 5 additions and 0 deletions
+3
View File
@@ -563,6 +563,9 @@ void ScreenOptionsMaster::ExportOptions()
SOUNDMAN->SetPrefs( PREFSMAN->m_fSoundVolume );
}
if( ChangeMask & OPT_APPLY_SONG )
SONGMAN->SetPreferences();
CHECKPOINT;
}
@@ -520,6 +520,7 @@ int ConfOption::GetEffects() const
{ WaitForVsync, OPT_APPLY_GRAPHICS },
{ GameSel, OPT_RESET_GAME },
{ SoundVolume, OPT_APPLY_SOUND },
{ AutogenSteps, OPT_APPLY_SONG },
};
int ret = OPT_SAVE_PREFERENCES;
+1
View File
@@ -7,6 +7,7 @@ static const int MAX_OPTIONS=16;
#define OPT_APPLY_THEME 0x4
#define OPT_RESET_GAME 0x8
#define OPT_APPLY_SOUND 0x16
#define OPT_APPLY_SONG 0x32
struct ConfOption
{