Skip to content

Commit 09160de

Browse files
committed
update
1 parent f03da22 commit 09160de

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/game/server/swarm/asw_gas_grenade_projectile.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include "particle_parse.h"
1212
#include "asw_generic_emitter_entity.h"
1313
#include "asw_radiation_volume.h"
14+
#include "func_asw_fade.h"
1415

1516
// memdbgon must be the last include file in a .cpp file!!!
1617
#include "tier0/memdbgon.h"
@@ -103,6 +104,8 @@ void CASW_Gas_Grenade_Projectile::Spawn( void )
103104

104105
SetCollisionGroup( ASW_COLLISION_GROUP_IGNORE_NPCS );
105106

107+
CFunc_ASW_Fade::DisableCollisionsWithGrenade( this );
108+
106109
// Tumble in air
107110
QAngle vecAngVelocity( 0, random->RandomFloat ( -100, -500 ), 0 );
108111
SetLocalAngularVelocity( vecAngVelocity );

src/game/server/swarm/func_asw_fade.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ void CFunc_ASW_Fade::InputSetCollideWithGrenades( inputdata_t& inputdata )
8888
"asw_flare_projectile",
8989
"asw_laser_mine",
9090
"asw_grenade_vindicator",
91+
"asw_gas_grenade_projectile",
9192
nullptr
9293
};
9394

0 commit comments

Comments
 (0)