mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 04:26:03 +08:00
Modified SDK for GCC 4.2
This commit is contained in:
@ -912,7 +912,7 @@ void CC_Player_TestDispatchEffect( const CCommand &args )
|
||||
AngleVectors( vecAngles, &data.m_vNormal );
|
||||
}
|
||||
data.m_nEntIndex = pPlayer->entindex();
|
||||
data.m_fFlags = flags;
|
||||
data.m_fFlags = (int)flags;
|
||||
data.m_flMagnitude = magnitude;
|
||||
data.m_flScale = scale;
|
||||
DispatchEffect( (char *)args[1], data );
|
||||
@ -1306,6 +1306,7 @@ void CC_HurtMe_f(const CCommand &args)
|
||||
|
||||
static ConCommand hurtme("hurtme", CC_HurtMe_f, "Hurts the player.\n\tArguments: <health to lose>", FCVAR_CHEAT);
|
||||
|
||||
#ifdef _DEBUG
|
||||
static bool IsInGroundList( CBaseEntity *ent, CBaseEntity *ground )
|
||||
{
|
||||
if ( !ground || !ent )
|
||||
@ -1327,6 +1328,7 @@ static bool IsInGroundList( CBaseEntity *ent, CBaseEntity *ground )
|
||||
return false;
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
static int DescribeGroundList( CBaseEntity *ent )
|
||||
{
|
||||
|
Reference in New Issue
Block a user