only check for stplayer flipcam

until i figure out a better way to check all of this crap
This commit is contained in:
Alug committed 2024-02-29 23:08:24 +01:00
1 parent 98e7002167
commit a07e2b8eda
1 file changed
+7 -4
+7 -4
View File
@@ -9117,16 +9117,19 @@ static void K_drawNameTags(void)
break;
//Flipcam off
if (players[i].mo->eflags & MFE_VERTICALFLIP && !(players[i].pflags & PF_FLIPCAM))
//if (players[i].mo->eflags & MFE_VERTICALFLIP && !(players[i].pflags & PF_FLIPCAM))
if (stplyr->mo->eflags & MFE_VERTICALFLIP && !(stplyr->pflags & PF_FLIPCAM))
pos.y += players[i].mo->height;
//Flipcam on
if (players[i].mo->eflags & MFE_VERTICALFLIP && (players[i].pflags & PF_FLIPCAM))
//if (players[i].mo->eflags & MFE_VERTICALFLIP && (players[i].pflags & PF_FLIPCAM))
if (stplyr->mo->eflags & MFE_VERTICALFLIP && (stplyr->pflags & PF_FLIPCAM))
pos.y -= ((30*dup)<<FRACBITS);
//Flipcam off
if (players[i].mo->eflags & MFE_VERTICALFLIP && !(players[i].pflags & PF_FLIPCAM))
flipped = players[i].mo->eflags & MFE_VERTICALFLIP && !(players[i].pflags & PF_FLIPCAM);
//if (players[i].mo->eflags & MFE_VERTICALFLIP && !(players[i].pflags & PF_FLIPCAM))
if (stplyr->mo->eflags & MFE_VERTICALFLIP && !(stplyr->pflags & PF_FLIPCAM))
flipped = players[i].mo->eflags & MFE_VERTICALFLIP;
//Saltyhop hehe
if (cv_saltyhop.value && cv_nametaghop.value)