Fix stat clock model attaching incorrectly on dropped weapons

This commit is contained in:
rabscootle
2026-01-10 12:51:05 -06:00
committed by EricS-Valve
parent c98767b329
commit 32dc35b8bd
+1 -1
View File
@@ -191,7 +191,7 @@ void CTFDroppedWeapon::OnDataChanged( DataUpdateType_t updateType )
pStatTrakEnt->SetModelScale( flScale ); pStatTrakEnt->SetModelScale( flScale );
pStatTrakEnt->UpdateVisibility(); pStatTrakEnt->UpdateVisibility();
pStatTrakEnt->SetBodygroup( 1, 1 ); pStatTrakEnt->SetBodygroup( 0, 0 );
pStatTrakEnt->m_nSkin = m_Item.GetTeamNumber(); // Use the "Sad" skin pStatTrakEnt->m_nSkin = m_Item.GetTeamNumber(); // Use the "Sad" skin