mirror of
https://github.com/fortressforever/fortressforever.git
synced 2024-11-21 20:21:15 +00:00
remove some un needed stuff
This commit is contained in:
parent
79aff0d393
commit
0325edc8b6
2 changed files with 0 additions and 25 deletions
|
@ -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;
|
||||
//}
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
@ -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" );
|
||||
|
|
Loading…
Reference in a new issue