From 5bb8d842fc6b32ded0cc43fbc0aebe70ad53481d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 15 Sep 2003 08:26:31 +0000 Subject: [PATCH] fix compile --- stepmania/src/GrayArrow.cpp | 4 ++-- stepmania/src/GrayArrow.h | 2 +- stepmania/src/GrayArrowRow.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/GrayArrow.cpp b/stepmania/src/GrayArrow.cpp index d33326d86d..56a1dddd4f 100644 --- a/stepmania/src/GrayArrow.cpp +++ b/stepmania/src/GrayArrow.cpp @@ -33,13 +33,13 @@ GrayArrow::GrayArrow() StopAnimating(); } -bool GrayArrow::Load( PlayerNumber pn, int iColNo ) +bool GrayArrow::Load( CString NoteSkin, PlayerNumber pn, int iColNo ) { CString Button = g_NoteFieldMode[pn].GrayButtonNames[iColNo]; if( Button == "" ) Button = NoteSkinManager::ColToButtonName( iColNo ); - CString sPath = NOTESKIN->GetPathTo( pn, Button, "receptor" ); + CString sPath = NOTESKIN->GetPathTo( NoteSkin, Button, "receptor" ); bool ret = Sprite::Load( sPath ); // XXX diff --git a/stepmania/src/GrayArrow.h b/stepmania/src/GrayArrow.h index 12004adb5e..be8efde818 100644 --- a/stepmania/src/GrayArrow.h +++ b/stepmania/src/GrayArrow.h @@ -20,7 +20,7 @@ class GrayArrow : public Sprite { public: GrayArrow(); - bool Load( PlayerNumber pn, int iColNo ); + bool Load( CString NoteSkin, PlayerNumber pn, int iColNo ); virtual void Update( float fDeltaTime ); void Step(); diff --git a/stepmania/src/GrayArrowRow.cpp b/stepmania/src/GrayArrowRow.cpp index e18813839f..0e26e44777 100644 --- a/stepmania/src/GrayArrowRow.cpp +++ b/stepmania/src/GrayArrowRow.cpp @@ -34,7 +34,7 @@ void GrayArrowRow::Load( PlayerNumber pn ) m_iNumCols = pStyleDef->m_iColsPerPlayer; for( int c=0; cm_PlayerOptions[pn].m_sNoteSkin, m_PlayerNumber, c ); } void GrayArrowRow::Update( float fDeltaTime )