From 0b0d05304462ca87f958ffced73a8c019ae105ad Mon Sep 17 00:00:00 2001 From: smallmodel <15067410+smallmodel@users.noreply.github.com> Date: Sun, 22 Oct 2023 15:41:13 +0200 Subject: [PATCH] Implemented Projectile::SetMartyr --- code/fgame/weaputils.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/fgame/weaputils.h b/code/fgame/weaputils.h index 7d611123..e3dd885f 100644 --- a/code/fgame/weaputils.h +++ b/code/fgame/weaputils.h @@ -147,6 +147,12 @@ public: bool CheckTeams( void ); }; +inline void Projectile::SetMartyr(int entnum) +{ + owner = entnum; + m_bHurtOwnerOnly = true; +} + inline void Projectile::Archive ( Archiver &arc