functions moved

This commit is contained in:
Glenn Maynard
2003-10-02 01:41:09 +00:00
parent e41a094ee5
commit 75a3a7f8b8
3 changed files with 4 additions and 50 deletions
+3 -2
View File
@@ -12,6 +12,7 @@
#include "GameManager.h"
#include "GameState.h"
#include "InputMapper.h"
#include "StepMania.h"
static void GetDefaultModifiers( PlayerOptions &po, SongOptions &so )
{
@@ -104,14 +105,14 @@ static void GameSel( int &sel, bool ToSel, const CStringArray &choices )
if( !stricmp(choices[i], sCurGameName) )
sel = i;
} else {
PREFSMAN->SaveGamePrefsToDisk();
SaveGamePrefsToDisk();
INPUTMAPPER->SaveMappingsToDisk(); // save mappings before switching the game
vector<Game> aGames;
GAMEMAN->GetEnabledGames( aGames );
GAMESTATE->m_CurGame = aGames[sel];
PREFSMAN->ReadGamePrefsFromDisk();
ReadGamePrefsFromDisk();
INPUTMAPPER->ReadMappingsFromDisk();
}
}