tf2: Fix logo spinner from breaking
This commit is contained in:
parent
4cb56f0d34
commit
b649037cce
|
|
@ -2215,6 +2215,7 @@ void CTFLogoPanel::PaintTFLogo( float flAngle, const Color& color ) const
|
|||
void CTFLogoPanel::Paint()
|
||||
{
|
||||
m_flOffsetAngle += gpGlobals->frametime * m_flVelocity;
|
||||
m_flOffsetAngle = fmodf( m_flOffsetAngle, 360.f );
|
||||
PaintTFLogo( m_flOffsetAngle, GetFgColor() );
|
||||
BaseClass::Paint();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue