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
+3 -2
View File
@@ -8,6 +8,7 @@
#include "GameState.h"
#include "PrefsManager.h"
#include "NoteFieldPositioning.h"
#include "Game.h"
GhostArrowRow::GhostArrowRow()
@@ -31,8 +32,8 @@ void GhostArrowRow::Load( PlayerNumber pn, CString NoteSkin, float fYReverseOffs
{
NoteFieldMode &mode = g_NoteFieldMode[pn];
CString Button = mode.GhostButtonNames[c];
if(Button == "")
Button = NoteSkinManager::ColToButtonName(c);
if( Button == "" )
Button = GAMESTATE->GetCurrentGame()->ColToButtonName( c );
m_GhostDim.push_back( new GhostArrow );
m_GhostBright.push_back( new GhostArrow );