mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-29 21:49:20 +00:00
upload "kind" alien swarm
This commit is contained in:
+13
-1
@@ -1,4 +1,4 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose: Frequently used global functions.
|
||||
//
|
||||
@@ -152,6 +152,10 @@ BEGIN_DATADESC( CBaseToggle )
|
||||
END_DATADESC()
|
||||
|
||||
|
||||
IMPLEMENT_SERVERCLASS_ST(CBaseToggle, DT_BaseToggle)
|
||||
END_SEND_TABLE()
|
||||
|
||||
|
||||
CBaseToggle::CBaseToggle()
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
@@ -165,6 +169,14 @@ CBaseToggle::CBaseToggle()
|
||||
#endif
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Returns the velocity imparted to players standing on us.
|
||||
//-----------------------------------------------------------------------------
|
||||
void CBaseToggle::GetGroundVelocityToApply( Vector &vecGroundVel )
|
||||
{
|
||||
vecGroundVel = GetLocalVelocity();
|
||||
}
|
||||
|
||||
bool CBaseToggle::KeyValue( const char *szKeyName, const char *szValue )
|
||||
{
|
||||
if (FStrEq(szKeyName, "lip"))
|
||||
|
||||
Reference in New Issue
Block a user