mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
game(hl1): fix bigmomma decal
This commit is contained in:
parent
4c49154dc0
commit
f11087b83a
@ -987,7 +987,7 @@ void CNPC_BigMomma::LayHeadcrab( void )
|
||||
|
||||
trace_t 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 );
|
||||
EmitSound( filter, entindex(), "BigMomma.LayHeadcrab" );
|
||||
@ -1233,7 +1233,7 @@ void CBMortar::Touch( CBaseEntity *pOther )
|
||||
{
|
||||
// make a splat on the wall
|
||||
UTIL_TraceLine( GetAbsOrigin(), GetAbsOrigin() + GetAbsVelocity() * 10, MASK_SOLID, this, COLLISION_GROUP_NONE, &tr );
|
||||
UTIL_DecalTrace( &tr, "Splash" );
|
||||
UTIL_DecalTrace( &tr, "MommaBlob" );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user