Propagate diffuse to ActorFrames' children

This commit is contained in:
Devin J. Pohly
2013-05-28 21:46:15 -04:00
parent 849b6e5b3b
commit f94d3affc2
6 changed files with 14 additions and 11 deletions
-8
View File
@@ -636,14 +636,6 @@ void OptionRow::UpdateEnabledDisabled()
}
}
void OptionRow::Update( float fDeltaTime )
{
ActorFrame::Update( fDeltaTime );
float fAlpha = m_Frame.GetCurrentDiffuseAlpha();
m_Frame.SetBaseAlpha( fAlpha );
}
void OptionRow::SetModIcon( PlayerNumber pn, const RString &sText, GameCommand &gc )
{
// update row frame