use column-specific names to rename "scratch"
This commit is contained in:
@@ -106,6 +106,9 @@ void Game::MenuInputToGameInput( MenuInput MenuI, GameInput GameIout[4] ) const
|
||||
CString Game::ColToButtonName( int col ) const
|
||||
{
|
||||
const Style* pStyle = GAMESTATE->GetCurrentStyle();
|
||||
const char *pzColumnName = pStyle->m_ColumnInfo[PLAYER_1][col].pzName;
|
||||
if( pzColumnName != NULL )
|
||||
return pzColumnName;
|
||||
|
||||
StyleInput SI( PLAYER_1, col );
|
||||
GameInput GI = pStyle->StyleInputToGameInput( SI );
|
||||
|
||||
Reference in New Issue
Block a user