rogue sbar
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@296 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
70ab01cb49
commit
1ba53e017e
1 changed files with 6 additions and 1 deletions
|
@ -1126,7 +1126,12 @@ void Sbar_DrawInventory (int pnum)
|
||||||
{
|
{
|
||||||
if (cl.stats[pnum][STAT_ACTIVEWEAPON] == (RIT_LAVA_NAILGUN << i))
|
if (cl.stats[pnum][STAT_ACTIVEWEAPON] == (RIT_LAVA_NAILGUN << i))
|
||||||
{
|
{
|
||||||
Sbar_DrawPic ((i+2)*24, -16, rsb_weapons[i]);
|
if (headsup) {
|
||||||
|
if (sbar_rect.height>200)
|
||||||
|
Sbar_DrawSubPic ((hudswap) ? 0 : (sbar_rect.width-24),-68-(5-i)*16 , rsb_weapons[i],0,0,24,16);
|
||||||
|
|
||||||
|
} else
|
||||||
|
Sbar_DrawPic ((i+2)*24, -16, rsb_weapons[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue