Fix cosmetic bug in vulcan ammo display
If the player has a gauss cannon, vulcan ammo, and no vulcan cannon, and has never selected the gauss cannon, gauges showed 'A'. 'A' should appear only if neither weapon is available. Use 'G' in this situation.
This commit is contained in:
parent
eebd1f12d4
commit
fcd4926d5d
|
@ -1269,7 +1269,7 @@ static void hud_printf_vulcan_ammo(const int x, const int y)
|
|||
hud_set_fontcolor_gray();
|
||||
char c;
|
||||
#if defined(DXX_BUILD_DESCENT_II)
|
||||
if ((primary_weapon_flags & gauss_mask) && Primary_last_was_super[VULCAN_INDEX])
|
||||
if ((primary_weapon_flags & gauss_mask) && (Primary_last_was_super[VULCAN_INDEX] || !(primary_weapon_flags & vulcan_mask)))
|
||||
c = 'G';
|
||||
else
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue