source-engine-2018-hl2_src/game/server/dod/rocket_bazooka.cpp
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

30 lines
764 B
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "cbase.h"
#include "rocket_bazooka.h"
LINK_ENTITY_TO_CLASS( rocket_bazooka, CBazookaRocket );
PRECACHE_WEAPON_REGISTER( rocket_bazooka );
void CBazookaRocket::Spawn( void )
{
SetModel( BAZOOKA_ROCKET_MODEL );
BaseClass::Spawn();
}
void CBazookaRocket::Precache( void )
{
PrecacheModel( BAZOOKA_ROCKET_MODEL );
BaseClass::Precache();
}
CBazookaRocket *CBazookaRocket::Create( const Vector &vecOrigin, const QAngle &vecAngles, CBaseEntity *pOwner )
{
return static_cast<CBazookaRocket *> ( CDODBaseRocket::Create( "rocket_bazooka", vecOrigin, vecAngles, pOwner ) );
}