mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
add source-sdk-2013
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user