... and associated cast changes.

This commit is contained in:
Glenn Maynard
2002-09-09 02:59:48 +00:00
parent 3677b39235
commit 4f8d20d90d
6 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ Font::Font( const CString &sASCIITexturePath )
if( ini.GetValueF( "Char Widths", "ScaleAllWidthsBy", fScaleAllWidthsBy ) )
{
for( int i=0; i<256; i++ )
m_iFrameNoToWidth[i] = roundf( m_iFrameNoToWidth[i] * fScaleAllWidthsBy );
m_iFrameNoToWidth[i] = int(roundf( m_iFrameNoToWidth[i] * fScaleAllWidthsBy ));
}
m_iLineSpacing = m_pTexture->GetSourceFrameHeight();