use V_LocalTransFlag for nametags

This commit is contained in:
Alug committed 2024-02-26 20:59:26 +01:00
1 parent cb1c167fa0
commit b802e4fa8a
1 file changed
+2 -1
+2 -1
View File
@@ -9035,6 +9035,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;
@@ -9091,7 +9092,7 @@ static void K_drawNameTags(void)
trans = V_40TRANS;
break;
case 4:
trans = V_HUDTRANS;
trans = hudtransflag;
break;
default:
break;