cleanup
This commit is contained in:
@@ -67,10 +67,10 @@ bool WheelNotifyIcon::EarlyAbortDraw()
|
||||
|
||||
void WheelNotifyIcon::Update( float fDeltaTime )
|
||||
{
|
||||
float fSecondFraction = fmodf(RageTimer::GetTimeSinceStart(), 1 );
|
||||
if( m_vIconsToShow.size() > 0 )
|
||||
{
|
||||
int index = (int)(fSecondFraction*m_vIconsToShow.size());
|
||||
const float fSecondFraction = fmodf( RageTimer::GetTimeSinceStart(), 1 );
|
||||
const int index = (int)(fSecondFraction*m_vIconsToShow.size());
|
||||
Sprite::SetState( m_vIconsToShow[index] );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user