X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fw_tuba.qc;h=686c89ec3a7f6f0dae6a0fe3ed8c0761735b6555;hp=bd9dff50e743e3703b2e75f21c22ef5bf379118c;hb=6cc2d1aa115907d16ae84fb07c3fe6c3329cd9b5;hpb=785232fc90ed7bd7038c79f65534a7e79efd7f45 diff --git a/qcsrc/common/weapons/w_tuba.qc b/qcsrc/common/weapons/w_tuba.qc index bd9dff50e..686c89ec3 100644 --- a/qcsrc/common/weapons/w_tuba.qc +++ b/qcsrc/common/weapons/w_tuba.qc @@ -363,7 +363,7 @@ void W_Tuba_NoteOn(float hittype) o = gettaginfo(self.exteriorweaponentity, 0); if(time > self.tuba_smoketime) { - Send_Effect("smoke_ring", o + v_up * 45 + v_right * -6 + v_forward * 8, v_up * 100, 1); + Send_Effect(EFFECT_SMOKE_RING, o + v_up * 45 + v_right * -6 + v_forward * 8, v_up * 100, 1); self.tuba_smoketime = time + 0.25; } } @@ -454,7 +454,7 @@ bool W_Tuba(int req) break; } W_SetupShot(self, false, 0, "", 0, 0); - Send_Effect("teleport", w_shotorg, '0 0 0', 1); + Send_Effect(EFFECT_TELEPORT, w_shotorg, '0 0 0', 1); self.weaponentity.state = WS_INUSE; weapon_thinkf(WFRAME_RELOAD, 0.5, w_ready); }