add source-sdk-2013

This commit is contained in:
nillerusr
2022-03-01 23:00:42 +03:00
parent 88b8830e8b
commit edc8d6c584
3288 changed files with 3731 additions and 1062455 deletions
+7 -13
View File
@@ -438,7 +438,7 @@ int Beam_t::GetFxBlend( )
extern bool g_bRenderingScreenshot;
extern ConVar r_drawviewmodel;
int Beam_t::DrawModel( int ignored )
int Beam_t::DrawModel( int flags )
{
#ifdef PORTAL
if ( ( !g_pPortalRender->IsRenderingPortal() && !m_bDrawInMainRender ) ||
@@ -1733,21 +1733,15 @@ void CViewRenderBeams::DrawBeamFollow( const model_t* pSprite, Beam_t *pbeam,
}
if (!pnew && div != 0)
{
if ( debugoverlay )
{
VectorCopy( pbeam->attachment[0], delta );
debugoverlay->ScreenPosition( pbeam->attachment[0], screenLast );
debugoverlay->ScreenPosition( particles->org, screen );
}
VectorCopy( pbeam->attachment[0], delta );
debugoverlay->ScreenPosition( pbeam->attachment[0], screenLast );
debugoverlay->ScreenPosition( particles->org, screen );
}
else if (particles && particles->next)
{
if ( debugoverlay )
{
VectorCopy( particles->org, delta );
debugoverlay->ScreenPosition( particles->org, screenLast );
debugoverlay->ScreenPosition( particles->next->org, screen );
}
VectorCopy( particles->org, delta );
debugoverlay->ScreenPosition( particles->org, screenLast );
debugoverlay->ScreenPosition( particles->next->org, screen );
particles = particles->next;
}
else