move ColToButtonName from Game to Style
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
#include "NoteSkinManager.h"
|
#include "NoteSkinManager.h"
|
||||||
#include "RageLog.h"
|
#include "RageLog.h"
|
||||||
#include "RageUtil.h"
|
#include "RageUtil.h"
|
||||||
#include "Game.h"
|
#include "Style.h"
|
||||||
#include "PlayerState.h"
|
#include "PlayerState.h"
|
||||||
|
|
||||||
ReceptorArrow::ReceptorArrow()
|
ReceptorArrow::ReceptorArrow()
|
||||||
@@ -19,7 +19,7 @@ void ReceptorArrow::Load( const PlayerState* pPlayerState, int iColNo )
|
|||||||
m_pPlayerState = pPlayerState;
|
m_pPlayerState = pPlayerState;
|
||||||
m_iColNo = iColNo;
|
m_iColNo = iColNo;
|
||||||
|
|
||||||
RString sButton = GAMESTATE->GetCurrentGame()->ColToButtonName( iColNo );
|
RString sButton = GAMESTATE->GetCurrentStyle()->ColToButtonName( iColNo );
|
||||||
m_pReceptor.Load( NOTESKIN->GetPath(sButton,"receptor") );
|
m_pReceptor.Load( NOTESKIN->GetPath(sButton,"receptor") );
|
||||||
this->AddChild( m_pReceptor );
|
this->AddChild( m_pReceptor );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user