fix VC7 warnings

This commit is contained in:
Chris Danford
2005-08-01 05:13:03 +00:00
parent 71a67fd0f7
commit 0578dd0133
+2 -3
View File
@@ -136,15 +136,14 @@ void OptionsCursorPlus::SetBarWidth( int iWidth )
{ {
OptionsCursor::SetBarWidth( iWidth ); OptionsCursor::SetBarWidth( iWidth );
float fFrameWidth = m_sprLeft.GetUnzoomedWidth();
m_sprCanGoLeft.SetX( m_sprLeft.GetDestX() ); m_sprCanGoLeft.SetX( m_sprLeft.GetDestX() );
m_sprCanGoRight.SetX( m_sprRight.GetDestX() ); m_sprCanGoRight.SetX( m_sprRight.GetDestX() );
} }
int OptionsCursor::GetBarWidth() int OptionsCursor::GetBarWidth()
{ {
return m_sprLeft.GetZoomX() * m_sprLeft.GetUnzoomedWidth(); float fWidth = m_sprLeft.GetZoomX() * m_sprLeft.GetUnzoomedWidth();
return (int)fWidth;
} }
/* /*