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 3734 additions and 1062458 deletions

View File

@@ -21,15 +21,12 @@ void CEntityMaterialProxy::Release( void )
}
//-----------------------------------------------------------------------------
//
// Helper class to deal with floating point inputs
//-----------------------------------------------------------------------------
void CEntityMaterialProxy::OnBind( void *pRenderable )
{
if( !pRenderable )
{
OnBindNotEntity( pRenderable );
return;
}
IClientRenderable *pRend = ( IClientRenderable* )pRenderable;
C_BaseEntity *pEnt = pRend->GetIClientUnknown()->GetBaseEntity();
@@ -41,8 +38,4 @@ void CEntityMaterialProxy::OnBind( void *pRenderable )
ToolFramework_RecordMaterialParams( GetMaterial() );
}
}
else
{
OnBindNotEntity( pRenderable );
}
}