From ff7801d8074dad918d326ae0cda6ed97507df16a Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 22 Aug 2002 22:59:54 +0000 Subject: [PATCH] const safety ... --- stepmania/src/GhostArrowRow.cpp | 2 +- stepmania/src/GrayArrowRow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;