mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-11 20:11:33 +03:00
Fixed leftover code causing issues in debug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user