diff --git a/src/shared/NSProjectile.h b/src/shared/NSProjectile.h index e7c0bd14..27df58a9 100644 --- a/src/shared/NSProjectile.h +++ b/src/shared/NSProjectile.h @@ -141,6 +141,8 @@ public: virtual void Save(float); virtual void Restore(string, string); + virtual void Trigger(entity, triggermode_t); + nonvirtual void _FuseEnded(void); nonvirtual void _Explode(void); diff --git a/src/shared/NSProjectile.qc b/src/shared/NSProjectile.qc index 58783bb3..ed32a0a6 100644 --- a/src/shared/NSProjectile.qc +++ b/src/shared/NSProjectile.qc @@ -448,6 +448,12 @@ NSProjectile::Restore(string strKey, string strValue) } } +void +NSProjectile::Trigger(entity theActivator, triggermode_t theMode) +{ + _Explode(); +} + void NSProjectile::Spawned(void) {