move ColToButtonName from Game to Style, to reduce GAMESTATE use

in Game
This commit is contained in:
Glenn Maynard
2006-09-30 00:46:21 +00:00
parent 77d506de27
commit 5541709a1f
7 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ void GhostArrowRow::Load( const PlayerState* pPlayerState, float fYReverseOffset
// init arrows
for( int c=0; c<pStyle->m_iColsPerPlayer; c++ )
{
const RString &sButton = GAMESTATE->GetCurrentGame()->ColToButtonName( c );
const RString &sButton = GAMESTATE->GetCurrentStyle()->ColToButtonName( c );
m_bHoldIsActive.push_back( false );
m_bHoldWasActive.push_back( false );