From 13985760d26812891584f742d9d79f063c5923b9 Mon Sep 17 00:00:00 2001 From: Steam Deck User Date: Wed, 8 Feb 2023 16:10:56 -0500 Subject: [PATCH] CLIENT: Fix playernames drawing at world origin when our of PVC --- source/client/hud.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/client/hud.qc b/source/client/hud.qc index d02d2ff..9f661bd 100644 --- a/source/client/hud.qc +++ b/source/client/hud.qc @@ -1476,6 +1476,9 @@ void(float width, float height) HUD_PlayerNames = vector screen_position = project(player_origin); vector text_color = '1 1 1'; + if (player_origin == '0 0 48') + continue; + screen_position_x -= stringwidth(text, 0, [8, 8])/2; switch(i) {