From fda710a858c3273aedbf39e1fc3de1f04c049aa9 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 23 Mar 2005 01:17:40 +0000 Subject: [PATCH] fix crash for real this time? (thought this was the first thing I tried ...) --- stepmania/src/OptionRow.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/stepmania/src/OptionRow.cpp b/stepmania/src/OptionRow.cpp index dac5f0df6f..8fb98d7410 100644 --- a/stepmania/src/OptionRow.cpp +++ b/stepmania/src/OptionRow.cpp @@ -601,14 +601,12 @@ void OptionRow::UpdateEnabledDisabled() bt.BeginTweening( TWEEN_SECONDS ); bt.SetDiffuse( color ); bt.SetY( m_fY ); - FOREACH_HumanPlayer( p ) - { - OptionsCursor &ul = *m_Underline[item_no][0]; - ul.StopTweening(); - ul.BeginTweening( TWEEN_SECONDS ); - ul.SetDiffuseAlpha( color.a ); - ul.SetY( m_fY ); - } + + OptionsCursor &ul = *m_Underline[pn][0]; + ul.StopTweening(); + ul.BeginTweening( TWEEN_SECONDS ); + ul.SetDiffuseAlpha( color.a ); + ul.SetY( m_fY ); } } break;