fix miniguns spinning very slowly in third-person

fixes a bug introduced by ValveSoftware/source-sdk-2013/pull/845
This commit is contained in:
wget 2025-10-25 12:26:04 +08:00 committed by EricS-Valve
parent b649037cce
commit df743b11cb
1 changed files with 1 additions and 1 deletions

View File

@ -1095,7 +1095,7 @@ void CTFMinigun::StandardBlendingRules( CStudioHdr *hdr, Vector pos[], Quaternio
//-----------------------------------------------------------------------------
void CTFMinigun::UpdateBarrelMovement()
{
if ( !prediction->IsFirstTimePredicted() )
if ( prediction->InPrediction() && !prediction->IsFirstTimePredicted() )
{
return;
}