X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fw_tuba.qc;h=117d32cb96a5a454d31d76896b67d17c35fabf34;hb=6eeab865ebe5dd796bde14c88a1d562114ef20ed;hp=46197204026359c0de9a914c109e63da86d15779;hpb=73406cea479bf391c611c4c4688d498537797e27;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/w_tuba.qc b/qcsrc/server/w_tuba.qc index 461972040..117d32cb9 100644 --- a/qcsrc/server/w_tuba.qc +++ b/qcsrc/server/w_tuba.qc @@ -3,7 +3,6 @@ REGISTER_WEAPON(TUBA, w_tuba, 0, 1, WEP_FLAG_HIDDEN | WEP_TYPE_SPLASH, BOT_PICKU #else #ifdef SVQC //#define TUBA_NOTE(n) strcat("weapons/tuba_note", ftos(n), ".wav") -.float tuba_notecount; .entity tuba_note; .float tuba_smoketime; @@ -130,18 +129,8 @@ void W_Tuba_NoteThink() void W_Tuba_Attack(float hittype) { vector o; - float c, n; + float n; W_SetupShot(self, FALSE, 2, "", 0, autocvar_g_balance_tuba_damage); - if(self.tuba_notecount) - { - self.tuba_notecount = FALSE; - c = CHAN_WEAPON; - } - else - { - self.tuba_notecount = TRUE; - c = CHAN_WEAPON2; - } n = Tuba_GetNote(self, hittype);