This commit is contained in:
Glenn Maynard
2004-01-20 01:11:20 +00:00
parent 808b95a1cf
commit c1212def03
+3
View File
@@ -23,6 +23,7 @@
OptionIconRow::OptionIconRow() OptionIconRow::OptionIconRow()
{ {
m_PlayerNumber = NUM_PLAYERS;
for( unsigned i=0; i<NUM_OPTION_COLS; i++ ) for( unsigned i=0; i<NUM_OPTION_COLS; i++ )
{ {
m_OptionIcon[i].SetXY( i*SPACING_X, i*SPACING_Y ); m_OptionIcon[i].SetXY( i*SPACING_X, i*SPACING_Y );
@@ -98,6 +99,8 @@ void OptionIconRow::Load( PlayerNumber pn )
void OptionIconRow::Refresh() void OptionIconRow::Refresh()
{ {
ASSERT( m_PlayerNumber != NUM_PLAYERS );
// init // init
unsigned i; unsigned i;
for( i=0; i<NUM_OPTION_COLS; i++ ) for( i=0; i<NUM_OPTION_COLS; i++ )