tf2: Fix logo spinner from breaking

This commit is contained in:
Horiuchi 2025-11-02 16:02:04 -05:00 committed by EricS-Valve
parent 4cb56f0d34
commit b649037cce
1 changed files with 1 additions and 0 deletions

View File

@ -2215,6 +2215,7 @@ void CTFLogoPanel::PaintTFLogo( float flAngle, const Color& color ) const
void CTFLogoPanel::Paint() void CTFLogoPanel::Paint()
{ {
m_flOffsetAngle += gpGlobals->frametime * m_flVelocity; m_flOffsetAngle += gpGlobals->frametime * m_flVelocity;
m_flOffsetAngle = fmodf( m_flOffsetAngle, 360.f );
PaintTFLogo( m_flOffsetAngle, GetFgColor() ); PaintTFLogo( m_flOffsetAngle, GetFgColor() );
BaseClass::Paint(); BaseClass::Paint();
} }