fix wheel item colors still look locked if Roulette then back out from SPlayerOptions

This commit is contained in:
Chris Danford
2006-04-04 21:39:03 +00:00
parent 76f0346122
commit e3bd1698d3
4 changed files with 31 additions and 19 deletions
+7 -2
View File
@@ -80,11 +80,16 @@ void WheelItemBase::DrawGrayBar( Actor& bar )
if( m_fPercentGray == 0 )
return;
RageColor glow = bar.GetGlow();
RageColor diffuse = bar.GetDiffuse();
bar.SetGlow( RageColor(0,0,0,m_fPercentGray) );
bar.SetDiffuse( RageColor(0,0,0,0) );
bar.Draw();
bar.SetDiffuse( RageColor(0,0,0,1) );
bar.SetGlow( RageColor(0,0,0,0) );
bar.SetGlow( glow );
bar.SetDiffuse( diffuse );
}
void WheelItemBase::DrawPrimitives()