game(hl1): fix bigmomma decal
This commit is contained in:
parent
4c49154dc0
commit
f11087b83a
1 changed files with 2 additions and 2 deletions
|
@ -987,7 +987,7 @@ void CNPC_BigMomma::LayHeadcrab( void )
|
||||||
|
|
||||||
trace_t tr;
|
trace_t tr;
|
||||||
UTIL_TraceLine( GetAbsOrigin(), GetAbsOrigin() - Vector(0,0,100), MASK_SOLID, this, COLLISION_GROUP_NONE, &tr );
|
UTIL_TraceLine( GetAbsOrigin(), GetAbsOrigin() - Vector(0,0,100), MASK_SOLID, this, COLLISION_GROUP_NONE, &tr );
|
||||||
UTIL_DecalTrace( &tr, "Splash" );
|
UTIL_DecalTrace( &tr, "MommaBlob" );
|
||||||
|
|
||||||
CPASAttenuationFilter filter( this );
|
CPASAttenuationFilter filter( this );
|
||||||
EmitSound( filter, entindex(), "BigMomma.LayHeadcrab" );
|
EmitSound( filter, entindex(), "BigMomma.LayHeadcrab" );
|
||||||
|
@ -1233,7 +1233,7 @@ void CBMortar::Touch( CBaseEntity *pOther )
|
||||||
{
|
{
|
||||||
// make a splat on the wall
|
// make a splat on the wall
|
||||||
UTIL_TraceLine( GetAbsOrigin(), GetAbsOrigin() + GetAbsVelocity() * 10, MASK_SOLID, this, COLLISION_GROUP_NONE, &tr );
|
UTIL_TraceLine( GetAbsOrigin(), GetAbsOrigin() + GetAbsVelocity() * 10, MASK_SOLID, this, COLLISION_GROUP_NONE, &tr );
|
||||||
UTIL_DecalTrace( &tr, "Splash" );
|
UTIL_DecalTrace( &tr, "MommaBlob" );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue