.entity tuba_note;
.float tuba_smoketime;
-void W_Tuba_SetAmmoCounter()
-{
- // this weapon doesn't have a reload system, so always set the clip to 0 when switching to it
- self.clip_load = self.clip_size = 0; // also keeps crosshair ammo from displaying
-}
-
float Tuba_GetNote(entity pl, float hittype)
{
float note;
// kind of tuba currently is player slot number, or team number if in
// teamplay
// that way, holes in the range of notes are "plugged"
- if(teams_matter)
+ if(teamplay)
{
if(pl.team == COLOR_TEAM2 || pl.team == COLOR_TEAM4)
note += 3;
else if (req == WR_SETUP)
{
weapon_setup(WEP_TUBA);
- W_Porto_SetAmmoCounter();
+ self.current_ammo = ammo_none;
}
else if (req == WR_CHECKAMMO1)
return TRUE; // TODO use fuel?