Do not draw betty unless we bought them

This commit is contained in:
Ryan Baldwin 2022-08-19 01:46:30 -07:00
parent 18fac3a2a7
commit f1e66e8a98
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View file

@ -1333,9 +1333,9 @@ void HUD_Grenades (void)
else else
Draw_String (356 + 12, 205 + 16, va ("%i",cl.stats[STAT_PRIGRENADES])); Draw_String (356 + 12, 205 + 16, va ("%i",cl.stats[STAT_PRIGRENADES]));
} }
Draw_StretchPic (356 + 20, 205, bettypic, 22, 22);
if (cl.stats[STAT_GRENADES] & UI_BETTY) if (cl.stats[STAT_GRENADES] & UI_BETTY)
{ {
Draw_StretchPic (356 + 20, 205, bettypic, 22, 22);
if (cl.stats[STAT_PRIGRENADES] <= 0) if (cl.stats[STAT_PRIGRENADES] <= 0)
Draw_ColoredString (356 + 20 + 12, 205 + 16, va ("%i",cl.stats[STAT_SECGRENADES]), 255, 0, 0, 255, 1); Draw_ColoredString (356 + 20 + 12, 205 + 16, va ("%i",cl.stats[STAT_SECGRENADES]), 255, 0, 0, 255, 1);
else else