From 815f6c3f399e4c28e8d421fb50c80b20b0a782b0 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 13 Apr 2005 01:02:54 +0000 Subject: [PATCH] remove backward compatibility hack because it causes a confusing error message (wrong file name) --- stepmania/src/GhostArrow.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/stepmania/src/GhostArrow.cpp b/stepmania/src/GhostArrow.cpp index 5f8938e80d..4d7660d3fc 100644 --- a/stepmania/src/GhostArrow.cpp +++ b/stepmania/src/GhostArrow.cpp @@ -15,14 +15,9 @@ void GhostArrow::Load( CString sNoteSkin, CString sButton, CString sElement ) CString sFullElement = sElement + " " + sJudge; - // HACK: for backward noteskin compatibility - CString sPath = NOTESKIN->GetPathToFromNoteSkinAndButton(sNoteSkin, sButton, sFullElement, true); // optional - if( sPath.empty() ) - sPath = NOTESKIN->GetPathToFromNoteSkinAndButton(sNoteSkin, sButton, sElement); // not optional - ASSERT( !m_spr[i].IsLoaded() ); // don't double-load - m_spr[i].Load( sPath ); + m_spr[i].Load( NOTESKIN->GetPathToFromNoteSkinAndButton(sNoteSkin, sButton, sFullElement) ); m_spr[i]->SetHidden( true ); this->AddChild( m_spr[i] ); }