steam networking
This commit is contained in:
@@ -29,6 +29,12 @@ void C_BaseModelEntity::SetModel( const char *szName )
|
||||
m_pInstance = g_pWorldRenderer->CreateInstance(m_pModel->m_pMesh);
|
||||
}
|
||||
|
||||
C_BaseModelEntity::~C_BaseModelEntity()
|
||||
{
|
||||
g_pWorldRenderer->DestroyMeshInstance(m_pModel->m_pMesh, m_pInstance);
|
||||
g_pAssetManager->UnrefModel(m_uModelIndex);
|
||||
}
|
||||
|
||||
BEGIN_DATADESC(C_BaseModelEntity)
|
||||
|
||||
END_DATADESC()
|
||||
|
||||
Reference in New Issue
Block a user