mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-10 14:42:05 +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 screen_position = project(player_origin);
|
||||||
vector text_color = '1 1 1';
|
vector text_color = '1 1 1';
|
||||||
|
|
||||||
|
if (player_origin == '0 0 48')
|
||||||
|
continue;
|
||||||
|
|
||||||
screen_position_x -= stringwidth(text, 0, [8, 8])/2;
|
screen_position_x -= stringwidth(text, 0, [8, 8])/2;
|
||||||
|
|
||||||
switch(i) {
|
switch(i) {
|
||||||
|
|
Loading…
Reference in a new issue