]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/weapon/tuba.qc
Weapons: pass weapon index
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / weapon / tuba.qc
index 46c4095112046f0dedd1edd140d6214bcae8245c..688152e0a4275e9a53841e597818817e2b929437 100644 (file)
@@ -379,7 +379,7 @@ void W_Tuba_NoteOn(float hittype)
                                        self.BUTTON_ATCK2 = 1;
                        }
                }
-               METHOD(Tuba, wr_think, void(entity thiswep, entity actor, int fire))
+               METHOD(Tuba, wr_think, void(entity thiswep, entity actor, int slot, int fire))
                {
                        if(fire & 1)
                        if(weapon_prepareattack(thiswep, actor, false, WEP_CVAR(tuba, refire)))