NSProjectile: Respond to Trigger()

This commit is contained in:
Marco Cawthorne 2023-07-27 23:47:22 -07:00
parent 9a1f5e3af1
commit f93f79e18c
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
2 changed files with 8 additions and 0 deletions

View File

@ -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);

View File

@ -448,6 +448,12 @@ NSProjectile::Restore(string strKey, string strValue)
}
}
void
NSProjectile::Trigger(entity theActivator, triggermode_t theMode)
{
_Explode();
}
void
NSProjectile::Spawned(void)
{