fix crash for real this time? (thought this was the first thing I tried ...)

This commit is contained in:
Glenn Maynard
2005-03-23 01:17:40 +00:00
parent bd2f75f03b
commit fda710a858
+2 -4
View File
@@ -601,16 +601,14 @@ void OptionRow::UpdateEnabledDisabled()
bt.BeginTweening( TWEEN_SECONDS ); bt.BeginTweening( TWEEN_SECONDS );
bt.SetDiffuse( color ); bt.SetDiffuse( color );
bt.SetY( m_fY ); bt.SetY( m_fY );
FOREACH_HumanPlayer( p )
{ OptionsCursor &ul = *m_Underline[pn][0];
OptionsCursor &ul = *m_Underline[item_no][0];
ul.StopTweening(); ul.StopTweening();
ul.BeginTweening( TWEEN_SECONDS ); ul.BeginTweening( TWEEN_SECONDS );
ul.SetDiffuseAlpha( color.a ); ul.SetDiffuseAlpha( color.a );
ul.SetY( m_fY ); ul.SetY( m_fY );
} }
} }
}
break; break;
default: default:
ASSERT(0); ASSERT(0);