mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-12 19:59:09 +00:00
add source-sdk-2013
This commit is contained in:
@@ -464,10 +464,10 @@ void C_Plasma::Update( void )
|
||||
C_BaseEntity *ent = cl_entitylist->GetEnt( 0 );
|
||||
if ( ent )
|
||||
{
|
||||
int iDecal = decalsystem->GetDecalIndexForName( "PlasmaGlowFade" );
|
||||
if ( iDecal >= 0 )
|
||||
int index = decalsystem->GetDecalIndexForName( "PlasmaGlowFade" );
|
||||
if ( index >= 0 )
|
||||
{
|
||||
effects->DecalShoot( iDecal, 0, ent->GetModel(), ent->GetAbsOrigin(), ent->GetAbsAngles(), GetAbsOrigin(), 0, 0 );
|
||||
effects->DecalShoot( index, 0, ent->GetModel(), ent->GetAbsOrigin(), ent->GetAbsAngles(), GetAbsOrigin(), 0, 0 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user