remove some un needed stuff

This commit is contained in:
mulchman 2007-09-07 00:08:09 +00:00
parent 79aff0d393
commit 0325edc8b6
2 changed files with 0 additions and 25 deletions

View file

@ -1126,8 +1126,6 @@ CBaseEntity *CGlobalEntityList::FindEntityByOwner(CBaseEntity *pStartEntity, con
//-----------------------------------------------------------------------------
CBaseEntity *CGlobalEntityList::FindEntityByClassT( CBaseEntity *pStartEntity, int szClassT )
{
//try
//{
const CEntInfo *pInfo = pStartEntity ? GetEntInfoPtr( pStartEntity->GetRefEHandle() )->m_pNext : FirstEntInfo();
for( ; pInfo; pInfo = pInfo->m_pNext )
@ -1145,11 +1143,6 @@ CBaseEntity *CGlobalEntityList::FindEntityByClassT( CBaseEntity *pStartEntity, i
}
return NULL;
//}
//catch (...)
//{
// return NULL;
//}
}
//-----------------------------------------------------------------------------

View file

@ -31,9 +31,6 @@
#endif
#endif
#include <fstream>
using namespace std;
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
@ -314,11 +311,6 @@ void MapEntity_ParseAllEntities(const char *pMapData, IMapEntityFilter *pFilter,
char szTokenBuffer[MAPKEY_MAXLENGTH];
// Mulch: 9/6/2007: Test temp shit
ofstream logFile;
logFile.open( "mulch_jiggles_fun_log.txt", ios_base::out );
logFile << "Starting log, bitch" << endl;
#if !defined( _RETAIL )
#if defined( _XBOX )
char sz[ 128 ];
@ -362,13 +354,6 @@ void MapEntity_ParseAllEntities(const char *pMapData, IMapEntityFilter *pFilter,
if (pEntity == NULL)
continue;
// Mulch: 9/6/2007: Test temp shit
if (pEntity->GetClassname())
{
logFile << "[Entry] " << pEntity->GetClassname() << endl;
logFile.flush();
}
if (pEntity->IsTemplate())
{
// It's a template entity. Squirrel away its keyvalue text so that we can
@ -445,9 +430,6 @@ void MapEntity_ParseAllEntities(const char *pMapData, IMapEntityFilter *pFilter,
}
}
// Mulch: 9/6/2007: Test temp shit
logFile.close();
#if !defined( _RETAIL )
#if defined( _XBOX )
Q_snprintf( sz, sizeof( sz ), "Template Spawn:Start" );