From 04cff632a3f723d94969acc741718c74589fd031 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Tue, 19 Jul 2022 13:44:03 -0500 Subject: [PATCH] Fixed leftover code causing issues in debug --- sp/src/game/server/entitylist.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sp/src/game/server/entitylist.cpp b/sp/src/game/server/entitylist.cpp index dd886ab3..55d5614b 100644 --- a/sp/src/game/server/entitylist.cpp +++ b/sp/src/game/server/entitylist.cpp @@ -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