You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
776 B
30 lines
776 B
5 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
//=============================================================================//
|
||
|
|
||
|
#include "cbase.h"
|
||
|
#include "rocket_pschreck.h"
|
||
|
|
||
|
LINK_ENTITY_TO_CLASS( rocket_pschreck, CPschreckRocket );
|
||
|
PRECACHE_WEAPON_REGISTER( rocket_pschreck );
|
||
|
|
||
|
void CPschreckRocket::Spawn( void )
|
||
|
{
|
||
|
SetModel( PSCHRECK_ROCKET_MODEL );
|
||
|
|
||
|
BaseClass::Spawn();
|
||
|
}
|
||
|
|
||
|
void CPschreckRocket::Precache( void )
|
||
|
{
|
||
|
PrecacheModel( PSCHRECK_ROCKET_MODEL );
|
||
|
|
||
|
BaseClass::Precache();
|
||
|
}
|
||
|
|
||
|
CPschreckRocket *CPschreckRocket::Create( const Vector &vecOrigin, const QAngle &vecAngles, CBaseEntity *pOwner )
|
||
|
{
|
||
|
return static_cast<CPschreckRocket *> ( CDODBaseRocket::Create( "rocket_pschreck", vecOrigin, vecAngles, pOwner ) );
|
||
|
}
|