fix [Common] DefaultModifers not being applied in most places

This commit is contained in:
Chris Danford
2005-10-27 07:51:37 +00:00
parent 6dc474d41b
commit 112564dc99
8 changed files with 42 additions and 37 deletions
+2 -3
View File
@@ -1,7 +1,7 @@
#include "global.h"
#include "SongOptions.h"
#include "RageUtil.h"
#include "PrefsManager.h"
#include "GameState.h"
void SongOptions::Init()
{
@@ -124,8 +124,7 @@ void SongOptions::FromString( CString sOptions )
else if( sBit == "faildefault" )
{
SongOptions so;
// TODO: Fix this so that SongOptions don't depend on PrefsManager
so.FromString( PREFSMAN->GetCurrentGamePrefs().m_sDefaultModifiers );
GAMESTATE->GetDefaultSongOptions( so );
m_FailType = so.m_FailType;
}