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:
parent
9d64ee3e51
commit
b811c3a81f
1 changed files with 1 additions and 1 deletions
|
@ -1312,7 +1312,7 @@ void R_DrawNameTags(void)
|
||||||
tagcenter[2] += 32;
|
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);
|
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)
|
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);
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue