From 422bc7fbd71636f651a3c2291eb9ad0ce4cc2bd0 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 10 Feb 2003 23:17:57 +0000 Subject: [PATCH] add course title substitution --- stepmania/src/Course.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index 1b7861b87c..5797319f88 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -22,6 +22,7 @@ #include "PlayerOptions.h" #include "SongOptions.h" #include "RageUtil.h" +#include "TitleSubstitution.h" Course::Course() { @@ -175,6 +176,11 @@ void Course::LoadFromCRSFile( CString sPath ) else LOG->Trace( "Unexpected value named '%s'", sValueName.GetString() ); } + static TitleSubst tsub; + + CString ignore; + tsub.Subst(m_sName, ignore, ignore, + ignore, ignore, ignore); }