NoteSkinManager::ColToButtonName -> Game::ColToButtonName

This commit is contained in:
Glenn Maynard
2004-09-06 02:49:36 +00:00
parent 0780dc3c6a
commit 3e1bc2ef26
7 changed files with 19 additions and 17 deletions
+2 -1
View File
@@ -7,6 +7,7 @@
#include "NoteSkinManager.h"
#include "RageLog.h"
#include "RageUtil.h"
#include "Game.h"
ReceptorArrow::ReceptorArrow()
@@ -23,7 +24,7 @@ bool ReceptorArrow::Load( CString NoteSkin, PlayerNumber pn, int iColNo )
NoteFieldMode &mode = g_NoteFieldMode[pn];
CString sButton = mode.GrayButtonNames[iColNo];
if( sButton == "" )
sButton = NoteSkinManager::ColToButtonName( iColNo );
sButton = GAMESTATE->GetCurrentGame()->ColToButtonName( iColNo );
CString sPath;
m_pReceptorWaiting.Load( NOTESKIN->GetPathToFromNoteSkinAndButton(NoteSkin,sButton,"receptor waiting") );