mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-13 12:19:13 +00:00
add source-sdk-2013
This commit is contained in:
@@ -65,8 +65,6 @@ void CNewParticleEffect::Construct()
|
||||
m_MaxBounds = Vector( -1.0e6, -1.0e6, -1.0e6 );
|
||||
m_pDebugName = NULL;
|
||||
|
||||
m_bViewModelEffect = m_pDef ? m_pDef->IsViewModelEffect() : false;
|
||||
|
||||
if ( IsValid() && clienttools->IsInRecordingMode() )
|
||||
{
|
||||
int nId = AllocateToolParticleEffectId();
|
||||
@@ -494,11 +492,8 @@ void CNewParticleEffect::DebugDrawBbox ( bool bCulled )
|
||||
|
||||
if ( bDraw )
|
||||
{
|
||||
if ( debugoverlay )
|
||||
{
|
||||
debugoverlay->AddBoxOverlay( center, mins, maxs, QAngle( 0, 0, 0 ), r, g, b, 16, 0 );
|
||||
debugoverlay->AddTextOverlayRGB( center, 0, 0, r, g, b, 64, "%s:(%d)", GetEffectName(), m_nActiveParticles );
|
||||
}
|
||||
debugoverlay->AddBoxOverlay( center, mins, maxs, QAngle( 0, 0, 0 ), r, g, b, 16, 0 );
|
||||
debugoverlay->AddTextOverlayRGB( center, 0, 0, r, g, b, 64, "%s:(%d)", GetEffectName(), m_nActiveParticles );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user