add course title substitution

This commit is contained in:
Glenn Maynard
2003-02-10 23:17:57 +00:00
parent 897c28868f
commit 422bc7fbd7
+6
View File
@@ -22,6 +22,7 @@
#include "PlayerOptions.h" #include "PlayerOptions.h"
#include "SongOptions.h" #include "SongOptions.h"
#include "RageUtil.h" #include "RageUtil.h"
#include "TitleSubstitution.h"
Course::Course() Course::Course()
{ {
@@ -175,6 +176,11 @@ void Course::LoadFromCRSFile( CString sPath )
else else
LOG->Trace( "Unexpected value named '%s'", sValueName.GetString() ); LOG->Trace( "Unexpected value named '%s'", sValueName.GetString() );
} }
static TitleSubst tsub;
CString ignore;
tsub.Subst(m_sName, ignore, ignore,
ignore, ignore, ignore);
} }