use V_LocalTransFlag for nametags

This commit is contained in:
Alug committed 2024-02-26 20:58:39 +01:00
1 parent ccfc476ec0
commit d9fe52b1a1
1 file changed
+2 -1
+2 -1
View File
@@ -9094,6 +9094,7 @@ static void K_drawNameTags(void)
int tagsdisplayed = 0;
char *tag;
patch_t *icon;
INT32 hudtransflag = V_LocalTransFlag();
if (!stplyr->mo || stplyr->spectator || splitscreen)
return;
@@ -9149,7 +9150,7 @@ static void K_drawNameTags(void)
trans = V_40TRANS;
break;
case 4:
trans = V_HUDTRANS;
trans = hudtransflag;
break;
default:
break;