steam networking

This commit is contained in:
2026-03-02 17:31:49 +02:00
parent 3db160b49e
commit 0dc8f1b36f
14 changed files with 99 additions and 7 deletions

View File

@@ -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()