1
0
Fork 0
forked from fte/fteqw

Nicer indentation. Nothing else.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2847 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2008-01-09 00:29:05 +00:00
parent 2c1bb8ea73
commit b583f3ce6d

View file

@ -1427,11 +1427,13 @@ void Sbar_DrawInventory (int pnum)
{
if (cl.stats[pnum][STAT_ACTIVEWEAPON] == (RIT_LAVA_NAILGUN << i))
{
if (headsup) {
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
}
else
Sbar_DrawPic ((i+2)*24, -16, rsb_weapons[i]);
}
}
@ -1467,6 +1469,7 @@ void Sbar_DrawInventory (int pnum)
flashon = 0;
// items
for (i=0 ; i<6 ; i++)
{
if (cl.stats[pnum][STAT_ITEMS] & (1<<(17+i)))
{
time = cl.item_gettime[pnum][17+i];
@ -1479,6 +1482,7 @@ void Sbar_DrawInventory (int pnum)
if (time && time > cl.time - 2)
sb_updates = 0;
}
}
if (sbar_rogue)
{
@ -1507,6 +1511,7 @@ void Sbar_DrawInventory (int pnum)
{
// sigils
for (i=0 ; i<4 ; i++)
{
if (cl.stats[pnum][STAT_ITEMS] & (1<<(28+i)))
{
time = cl.item_gettime[pnum][28+i];
@ -1519,6 +1524,7 @@ void Sbar_DrawInventory (int pnum)
if (time && time > cl.time - 2)
sb_updates = 0;
}
}
}
}