source-engine/game/client/hl1/hl1_fx_shelleject.cpp
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

22 lines
551 B
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "cbase.h"
#include "fx.h"
#include "c_te_effect_dispatch.h"
#include "c_te_legacytempents.h"
void HL1ShellEjectCallback( const CEffectData &data )
{
int iType = data.m_fFlags; // 0 = shell, 1 = shotgun shell
tempents->HL1EjectBrass( data.m_vOrigin, data.m_vAngles, data.m_vStart, iType );
}
DECLARE_CLIENT_EFFECT( "HL1ShellEject", HL1ShellEjectCallback );