mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-16 17:10:55 +00:00
CLIENT: Fix playernames drawing at world origin when our of PVC
This commit is contained in:
parent
b27b3e0ca9
commit
13985760d2
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue