remove includes from Preference.h

This commit is contained in:
Chris Danford
2004-12-04 07:15:22 +00:00
parent 2b9d990e71
commit 63e138a212
5 changed files with 96 additions and 29 deletions
+5 -2
View File
@@ -275,12 +275,15 @@ void ScreenSystemLayer::Update( float fDeltaTime )
{
Screen::Update(fDeltaTime);
if( PREFSMAN && PREFSMAN->m_bShowStats )
if( PREFSMAN && (bool)PREFSMAN->m_bShowStats )
{
m_textStats.SetDiffuse( RageColor(1,1,1,0.7f) );
m_textStats.SetText( DISPLAY->GetStats() );
} else
}
else
{
m_textStats.SetDiffuse( RageColor(1,1,1,0) ); /* hide */
}
UpdateTimestampAndSkips();
}