mirror of
https://git.code.sf.net/p/quake/game-source
synced 2025-02-19 18:31:34 +00:00
) ) -> ))
This commit is contained in:
parent
7d516a9ecd
commit
a35ed77592
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue