Some respect for OOP. (MasterPlayerNumber)

This commit is contained in:
Jason Felds
2011-06-06 20:40:11 -04:00
parent 963cc9d4f1
commit 0a7b9ce170
33 changed files with 106 additions and 94 deletions
+2 -2
View File
@@ -119,7 +119,7 @@ void ScreenOptionsCourseOverview::HandleScreenMessage( const ScreenMessage SM )
}
else if( SM == SM_GoToNextScreen )
{
int iRow = m_iCurrentRow[GAMESTATE->m_MasterPlayerNumber];
int iRow = m_iCurrentRow[GAMESTATE->GetMasterPlayerNumber()];
switch( iRow )
{
case CourseOverviewRow_Play:
@@ -191,7 +191,7 @@ void ScreenOptionsCourseOverview::ProcessMenuStart( const InputEventPlus &input
if( IsTransitioning() )
return;
int iRow = m_iCurrentRow[GAMESTATE->m_MasterPlayerNumber];
int iRow = m_iCurrentRow[GAMESTATE->GetMasterPlayerNumber()];
switch( iRow )
{
case CourseOverviewRow_Play: