From e091c15003df392efeea83c249f36402a569cade Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 17 Feb 2018 11:36:02 +1000 Subject: [PATCH] Fix a crash caused by some skipped duplicated code --- qcsrc/common/weapons/weapon/hagar.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/common/weapons/weapon/hagar.qc b/qcsrc/common/weapons/weapon/hagar.qc index 0d8d94f59..82080dfd0 100644 --- a/qcsrc/common/weapons/weapon/hagar.qc +++ b/qcsrc/common/weapons/weapon/hagar.qc @@ -212,6 +212,7 @@ void W_Hagar_Attack2_Load_Release(entity actor, .entity weaponentity) missile.nextthink = time + WEP_CVAR_SEC(hagar, lifetime_min) + random() * WEP_CVAR_SEC(hagar, lifetime_rand); PROJECTILE_MAKETRIGGER(missile); missile.projectiledeathtype = WEP_HAGAR.m_id | HITTYPE_SECONDARY; + missile.weaponentity_fld = weaponentity; setorigin(missile, w_shotorg); setsize(missile, '0 0 0', '0 0 0'); set_movetype(missile, MOVETYPE_FLY); -- 2.39.2