X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fw_crylink.qc;h=08deaf78c4a81e5ade345c1e9fd8590e5fb194bf;hb=75d8c631b71daf6ad2019d8139771f00ad426d33;hp=3c13a91db9c39bda54218489bc11b516e5c9bddf;hpb=7b268e9d4dfb2220de94a35dc2c540546b064354;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/weapons/w_crylink.qc b/qcsrc/common/weapons/w_crylink.qc index 3c13a91db..08deaf78c 100644 --- a/qcsrc/common/weapons/w_crylink.qc +++ b/qcsrc/common/weapons/w_crylink.qc @@ -258,7 +258,7 @@ void W_Crylink_LinkJoinEffect_Think(void) e.projectiledeathtype, other ); - Send_Effect("crylink_joinexplode", self.origin, '0 0 0', n); + Send_Effect(EFFECT_CRYLINK_JOINEXPLODE, self.origin, '0 0 0', n); } } } @@ -360,7 +360,7 @@ void W_Crylink_Attack(void) up = v_up; shots = WEP_CVAR_PRI(crylink, shots); - Send_Effect("crylink_muzzleflash", w_shotorg, w_shotdir * 1000, shots); + Send_Effect(EFFECT_CRYLINK_MUZZLEFLASH, w_shotorg, w_shotdir * 1000, shots); proj = prevproj = firstproj = world; for(counter = 0; counter < shots; ++counter) { @@ -469,7 +469,7 @@ void W_Crylink_Attack2(void) up = v_up; shots = WEP_CVAR_SEC(crylink, shots); - Send_Effect("crylink_muzzleflash", w_shotorg, w_shotdir * 1000, shots); + Send_Effect(EFFECT_CRYLINK_MUZZLEFLASH, w_shotorg, w_shotdir * 1000, shots); proj = prevproj = firstproj = world; for(counter = 0; counter < shots; ++counter) { @@ -700,13 +700,13 @@ bool W_Crylink(int req) org2 = w_org + w_backoff * 2; if(w_deathtype & HITTYPE_SECONDARY) { - pointparticles(particleeffectnum("crylink_impact"), org2, '0 0 0', 1); + pointparticles(particleeffectnum(EFFECT_CRYLINK_IMPACT2), org2, '0 0 0', 1); if(!w_issilent) sound(self, CH_SHOTS, W_Sound("crylink_impact2"), VOL_BASE, ATTN_NORM); } else { - pointparticles(particleeffectnum("crylink_impactbig"), org2, '0 0 0', 1); + pointparticles(particleeffectnum(EFFECT_CRYLINK_IMPACT), org2, '0 0 0', 1); if(!w_issilent) sound(self, CH_SHOTS, W_Sound("crylink_impact"), VOL_BASE, ATTN_NORM); }