Nametag sightofline fix
This commit is contained in:
1 parent
6fede1a564
commit
23ad0746f1
1 file changed
+1
-1
+1
-1
@@ -9062,7 +9062,7 @@ static void K_drawNameTags(void)
|
||||
an = R_PointToAngle2(camera[0].x, camera[0].y, players[i].mo->x, players[i].mo->y) - camera[0].angle;
|
||||
if (an > ANGLE_90 && an < ANGLE_270)
|
||||
continue; // behind back
|
||||
if (!P_CheckSight(players[i].mo, stplyr->mo))
|
||||
if (!P_CheckSight(stplyr->mo, players[i].mo))
|
||||
continue;
|
||||
|
||||
tagsdisplayed += 1;
|
||||
|
||||
Reference in new issue
Block a user