1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 12:36:05 +08:00

Modified SDK for GCC 4.2

This commit is contained in:
Scott Ehlert
2008-09-15 02:50:57 -05:00
parent 86f3bc8a60
commit 7ff7f366d5
696 changed files with 23423 additions and 22634 deletions

View File

@ -639,7 +639,7 @@ void CBaseEntity::DecalTrace( trace_t *pTrace, char const *decalName )
//-----------------------------------------------------------------------------
// Purpose: Base handling for impacts against entities
//-----------------------------------------------------------------------------
void CBaseEntity::ImpactTrace( trace_t *pTrace, int iDamageType, char *pCustomImpactName )
void CBaseEntity::ImpactTrace( trace_t *pTrace, int iDamageType, const char *pCustomImpactName )
{
VPROF( "CBaseEntity::ImpactTrace" );
Assert( pTrace->m_pEnt );
@ -731,7 +731,7 @@ BASEPTR CBaseEntity::ThinkSet( BASEPTR func, float thinkTime, const char *szCont
{
#if !defined( CLIENT_DLL )
#ifdef _DEBUG
COMPILE_TIME_ASSERT( sizeof(func) == 4 );
COMPILE_TIME_ASSERT( sizeof(func) == MFP_SIZE );
#endif
#endif
@ -1138,6 +1138,9 @@ void CBaseEntity::VPhysicsUpdate( IPhysicsObject *pPhysics )
VPhysicsUpdatePusher( pPhysics );
#endif
break;
default:
break;
}
}