Revert "When filtering ammo display, include ammo not yet found."
This reverts commit 4efe82ab34.
The feature is actually kinda silly, really.
This commit is contained in:
parent
1af92aa95c
commit
42932d82b3
3 changed files with 2 additions and 6 deletions
|
|
@ -182,7 +182,6 @@ Class SWWMStatusBar : BaseStatusBar
|
|||
int AmmoOldAmounts[18]; // to detect when to flash
|
||||
int AmmoMaxFlash[18]; // flash when ammo max amount changes
|
||||
int AmmoOldMaxAmounts[18]; // to detect when to flash
|
||||
bool AmmoFound[18]; // have had non-zero ammo in this slot
|
||||
Class<SWWMAmmo> AmmoSlots[18]; // ammo type on each slot
|
||||
String AmmoNames[18]; // ammo 4-letter names
|
||||
int HealthFlash; // flash when healing
|
||||
|
|
|
|||
|
|
@ -40,8 +40,6 @@ extend Class SWWMStatusBar
|
|||
if ( (maxamt > AmmoOldMaxAmounts[i]) && (AmmoOldMaxAmounts[i] != int.min) )
|
||||
AmmoMaxFlash[i] = gametic+25;
|
||||
AmmoOldMaxAmounts[i] = maxamt;
|
||||
if ( !AmmoFound[i] && (amt > 0) )
|
||||
AmmoFound[i] = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -147,7 +145,6 @@ extend Class SWWMStatusBar
|
|||
// check if owned
|
||||
if ( checkowned )
|
||||
{
|
||||
if ( !AmmoFound[i] ) continue;
|
||||
bool owned = false;
|
||||
foreach ( w:OwnedWeapons )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue