Swap position of Bouncing Betties and Grenades on the HUD

This commit is contained in:
Steam Deck User 2023-03-27 15:39:24 -04:00
parent 75752e0312
commit b6113e3224

View file

@ -1346,23 +1346,23 @@ HUD_Grenades
void HUD_Grenades (void) void HUD_Grenades (void)
{ {
Draw_StretchPic (448, 232, fragpic, 22, 22); Draw_StretchPic (427, 232, fragpic, 22, 22);
if (cl.stats[STAT_GRENADES] & UI_FRAG) if (cl.stats[STAT_GRENADES] & UI_FRAG)
{ {
if (cl.stats[STAT_PRIGRENADES] <= 0) if (cl.stats[STAT_PRIGRENADES] <= 0)
Draw_ColoredString (463, 247, va ("%i",cl.stats[STAT_PRIGRENADES]), 255, 0, 0, 255, 1); Draw_ColoredString (440, 247, va ("%i",cl.stats[STAT_PRIGRENADES]), 255, 0, 0, 255, 1);
else else
Draw_String (463, 247, va ("%i",cl.stats[STAT_PRIGRENADES])); Draw_String (440, 247, va ("%i",cl.stats[STAT_PRIGRENADES]));
} }
if (cl.stats[STAT_GRENADES] & UI_BETTY) if (cl.stats[STAT_GRENADES] & UI_BETTY)
{ {
Draw_StretchPic (427, 233, bettypic, 22, 22); Draw_StretchPic (448, 233, bettypic, 22, 22);
if (cl.stats[STAT_PRIGRENADES] <= 0) if (cl.stats[STAT_PRIGRENADES] <= 0)
Draw_ColoredString (440, 247, va ("%i",cl.stats[STAT_SECGRENADES]), 255, 0, 0, 255, 1); Draw_ColoredString (463, 247, va ("%i",cl.stats[STAT_SECGRENADES]), 255, 0, 0, 255, 1);
else else
Draw_String (440, 247, va ("%i",cl.stats[STAT_SECGRENADES])); Draw_String (463, 247, va ("%i",cl.stats[STAT_SECGRENADES]));
} }
} }