mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-31 06:29:20 +00:00
upload "kind" alien swarm
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
|
||||
//
|
||||
// Purpose: Dissolve entity to be attached to target entity. Serves two purposes:
|
||||
//
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
// 2) An entity that can be created at runtime to ignite a target entity.
|
||||
//
|
||||
//=============================================================================//
|
||||
//===========================================================================//
|
||||
|
||||
#include "cbase.h"
|
||||
#include "RagdollBoogie.h"
|
||||
@@ -69,11 +69,28 @@ CRagdollBoogie *CRagdollBoogie::Create( CBaseEntity *pTarget, float flMagnitude,
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Spawn
|
||||
//-----------------------------------------------------------------------------
|
||||
void CRagdollBoogie::Precache()
|
||||
{
|
||||
BaseClass::Precache();
|
||||
|
||||
PrecacheEffect( "TeslaHitboxes" );
|
||||
|
||||
#ifdef HL2_EPISODIC
|
||||
PrecacheScriptSound( "RagdollBoogie.Zap" );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Spawn
|
||||
//-----------------------------------------------------------------------------
|
||||
void CRagdollBoogie::Spawn()
|
||||
{
|
||||
Precache();
|
||||
|
||||
BaseClass::Spawn();
|
||||
|
||||
SetThink( &CRagdollBoogie::BoogieThink );
|
||||
|
||||
Reference in New Issue
Block a user