const safety ...
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user