mirror of
https://github.com/nzp-team/glquake.git
synced 2025-02-14 16:01:25 +00:00
Do not draw betty unless we bought them
This commit is contained in:
parent
18fac3a2a7
commit
f1e66e8a98
3 changed files with 1 additions and 1 deletions
BIN
nzportable.3dsx
BIN
nzportable.3dsx
Binary file not shown.
BIN
nzportable.elf
BIN
nzportable.elf
Binary file not shown.
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue