Fixed leftover code causing issues in debug

This commit is contained in:
Blixibon 2022-07-19 13:44:03 -05:00
parent 197a9be59c
commit 04cff632a3

View File

@ -402,14 +402,6 @@ void CGlobalEntityList::Clear( void )
// free the memory
g_DeleteList.Purge();
#ifdef _DEBUG // From Alien Swarm SDK
for ( UtlHashHandle_t handle = g_EntsByClassname.GetFirstHandle(); g_EntsByClassname.IsValidHandle(handle); handle = g_EntsByClassname.GetNextHandle(handle) )
{
EntsByStringList_t &element = g_EntsByClassname[handle];
Assert( element.pHead == NULL );
}
#endif
#ifdef MAPBASE_VSCRIPT
g_CustomProcedurals.Purge();
#endif