) ) -> ))

This commit is contained in:
Ragnvald Maartmann-Moe IV 2004-02-09 17:03:23 +00:00
parent 7d516a9ecd
commit a35ed77592

View file

@ -707,15 +707,15 @@ float() W_BestWeapon =
it = self.items;
if (self.waterlevel <= 1 && self.ammo_cells >= 1 && (it & IT_LIGHTNING) )
if (self.waterlevel <= 1 && self.ammo_cells >= 1 && (it & IT_LIGHTNING))
return IT_LIGHTNING;
if (self.ammo_nails >= 2 && (it & IT_SUPER_NAILGUN))
return IT_SUPER_NAILGUN;
if (self.ammo_shells >= 2 && (it & IT_SUPER_SHOTGUN) )
if (self.ammo_shells >= 2 && (it & IT_SUPER_SHOTGUN))
return IT_SUPER_SHOTGUN;
if (self.ammo_nails >= 1 && (it & IT_NAILGUN) )
if (self.ammo_nails >= 1 && (it & IT_NAILGUN))
return IT_NAILGUN;
if (self.ammo_shells >= 1 && (it & IT_SHOTGUN) )
if (self.ammo_shells >= 1 && (it & IT_SHOTGUN))
return IT_SHOTGUN;
return IT_AXE;
};