1
0
Fork 0
forked from fte/fteqw

Added brackets around the dude that you are spectating.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@586 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-12-08 04:05:43 +00:00
parent 719a42f98e
commit 2bc22c8e79

View file

@ -1874,7 +1874,8 @@ void Sbar_DeathmatchOverlay (int start)
Draw_Character ( x+120 , y, num[1]);
Draw_Character ( x+128 , y, num[2]);
if (k == cl.playernum[0])
if ((cl.spectator && k == spec_track[0]) ||
(!cl.spectator && k == cl.playernum[0]))
{
Draw_Character ( x + 104, y, 16);
Draw_Character ( x + 136, y, 17);
@ -2085,7 +2086,8 @@ void Sbar_MiniDeathmatchOverlay (void)
Draw_Character ( x+16, y, num[1]);
Draw_Character ( x+24, y, num[2]);
if (k == cl.playernum[0])
if ((cl.spectator && k == spec_track[0]) ||
(!cl.spectator && k == cl.playernum[0]))
{
Draw_Character ( x, y, 16);
Draw_Character ( x + 32, y, 17);