don't mess with alpha
This commit is contained in:
@@ -114,16 +114,14 @@ void GradeDisplay::SetGrade( PlayerNumber pn, Grade g )
|
|||||||
m_bDoScrolling = false;
|
m_bDoScrolling = false;
|
||||||
StopUsingCustomCoords();
|
StopUsingCustomCoords();
|
||||||
|
|
||||||
if(g != Grade_NoData)
|
if( g != Grade_NoData )
|
||||||
{
|
{
|
||||||
SetState( GetFrameIndex(pn,g) );
|
SetState( GetFrameIndex(pn,g) );
|
||||||
SetVisible( true );
|
SetVisible( true );
|
||||||
SetDiffuseAlpha(1);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
SetVisible( false );
|
SetVisible( false );
|
||||||
SetDiffuseAlpha(0);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user