X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fw_hlac.qc;h=6aaf174147142b1f70212fd276274cbec9c5c053;hb=3dbc0b5b9ab0f255ec91b8670aeb7cd62218f873;hp=88990de62821685de13d1ce24ca0decad035ac23;hpb=902b6412e307e9208c0bf70dc4f8f20697180b8c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/w_hlac.qc b/qcsrc/server/w_hlac.qc index 88990de62..6aaf17414 100644 --- a/qcsrc/server/w_hlac.qc +++ b/qcsrc/server/w_hlac.qc @@ -74,6 +74,8 @@ void W_HLAC_Attack (void) missile.projectiledeathtype = WEP_HLAC; CSQCProjectile(missile, TRUE, PROJECTILE_HLAC, TRUE); + + other = missile; MUTATOR_CALLHOOK(EditProjectile); } void W_HLAC_Attack2f (void) @@ -116,6 +118,8 @@ void W_HLAC_Attack2f (void) missile.projectiledeathtype = WEP_HLAC | HITTYPE_SECONDARY; CSQCProjectile(missile, TRUE, PROJECTILE_HLAC, TRUE); + + other = missile; MUTATOR_CALLHOOK(EditProjectile); } void W_HLAC_Attack2 (void) @@ -226,9 +230,9 @@ float w_hlac(float req) precache_sound("weapons/laserimpact.wav"); } else if (req == WR_SUICIDEMESSAGE) - w_deathtypestring = "should have used a smaller gun"; + w_deathtypestring = "%s should have used a smaller gun"; else if (req == WR_KILLMESSAGE) - w_deathtypestring = "was cut down by"; + w_deathtypestring = "%s was cut down by %s"; return TRUE; } #endif