mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-26 06:45:31 +03:00
Fixed leftover code causing issues in debug
This commit is contained in:
parent
197a9be59c
commit
04cff632a3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user