const fix

This commit is contained in:
Glenn Maynard
2006-01-15 07:12:05 +00:00
parent 6be6053227
commit 1d186c481d
4 changed files with 17 additions and 16 deletions
+2 -2
View File
@@ -134,7 +134,7 @@ void ScreenOptionsMaster::BeginFadingOut()
int iCurRow = this->GetCurrentRow();
ASSERT( iCurRow >= 0 && iCurRow < (int)m_pRows.size() );
OptionRow &row = *m_pRows[iCurRow];
const OptionRow &row = *m_pRows[iCurRow];
{
int iChoice = row.GetChoiceInRowWithFocus( GAMESTATE->m_MasterPlayerNumber );
@@ -143,7 +143,7 @@ void ScreenOptionsMaster::BeginFadingOut()
// not the "goes down" item
if( iChoice != -1 && iCurRow < (int) m_OptionRowHandlers.size() )
{
OptionRowHandler *pHand = m_OptionRowHandlers[iCurRow];
const OptionRowHandler *pHand = m_OptionRowHandlers[iCurRow];
if( pHand != NULL )
m_bExportWillSetANewScreen = pHand->HasScreen( iChoice );
}