diff --git a/stepmania/src/GhostArrowRow.cpp b/stepmania/src/GhostArrowRow.cpp index b4bcc7e650..58044993e3 100644 --- a/stepmania/src/GhostArrowRow.cpp +++ b/stepmania/src/GhostArrowRow.cpp @@ -30,7 +30,7 @@ void GhostArrowRow::Load( PlayerNumber pn ) m_PlayerNumber = pn; GameDef* pGameDef = GAMESTATE->GetCurrentGameDef(); - StyleDef* pStyleDef = GAMESTATE->GetCurrentStyleDef(); + const StyleDef* pStyleDef = GAMESTATE->GetCurrentStyleDef(); m_iNumCols = pStyleDef->m_iColsPerPlayer; diff --git a/stepmania/src/GrayArrowRow.cpp b/stepmania/src/GrayArrowRow.cpp index 7de7eec1d8..83227302a7 100644 --- a/stepmania/src/GrayArrowRow.cpp +++ b/stepmania/src/GrayArrowRow.cpp @@ -30,7 +30,7 @@ void GrayArrowRow::Load( PlayerNumber pn ) m_PlayerNumber = pn; GameDef* pGameDef = GAMESTATE->GetCurrentGameDef(); - StyleDef* pStyleDef = GAMESTATE->GetCurrentStyleDef(); + const StyleDef* pStyleDef = GAMESTATE->GetCurrentStyleDef(); m_iNumCols = pStyleDef->m_iColsPerPlayer;