simpify
This commit is contained in:
@@ -59,10 +59,7 @@ ScreenTestSound::ScreenTestSound( CString sClassName ) : Screen( sClassName )
|
|||||||
|
|
||||||
void ScreenTestSound::UpdateText(int n)
|
void ScreenTestSound::UpdateText(int n)
|
||||||
{
|
{
|
||||||
|
CString fn = Basename( s[n].s.GetLoadedFilePath() );
|
||||||
CString fn = s[n].s.GetLoadedFilePath();
|
|
||||||
size_t x = fn.find_last_of("/\\");
|
|
||||||
if(x != fn.npos) fn.erase(0, x+1);
|
|
||||||
|
|
||||||
vector<RageSound *> snds;
|
vector<RageSound *> snds;
|
||||||
SOUNDMAN->GetCopies(s[n].s, snds);
|
SOUNDMAN->GetCopies(s[n].s, snds);
|
||||||
|
|||||||
Reference in New Issue
Block a user