Fixed nametags when spectating.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1311 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-09-14 04:12:48 +00:00
parent 9d64ee3e51
commit b811c3a81f

View file

@ -1312,7 +1312,7 @@ void R_DrawNameTags(void)
tagcenter[2] += 32;
ML_Project(tagcenter, center, r_refdef.viewangles, r_refdef.vieworg, (float)r_refdef.vrect.width/r_refdef.vrect.height, r_refdef.fov_y);
if (center[2] > 1)
return;
continue;
Draw_FunString(center[0]*r_refdef.vrect.width+r_refdef.vrect.x, (1-center[1])*r_refdef.vrect.height+r_refdef.vrect.y, cl.players[i].name);
}
}