mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Acommodate MF2_SHADOW in first person view
This commit is contained in:
parent
20d2be1a51
commit
98c8926d9a
1 changed files with 5 additions and 3 deletions
|
|
@ -5509,9 +5509,11 @@ static void K_drawKartFirstPerson(void)
|
||||||
{
|
{
|
||||||
if (stplyr->speed < FixedMul(stplyr->runspeed, stplyr->mo->scale) && (leveltime & 1) && !splitscreen)
|
if (stplyr->speed < FixedMul(stplyr->runspeed, stplyr->mo->scale) && (leveltime & 1) && !splitscreen)
|
||||||
y++;
|
y++;
|
||||||
// this isn't EXPLICITLY right, it just gets the result we want, but i'm too lazy to look up the right way to do it
|
// the following isn't EXPLICITLY right, it just gets the result we want, but i'm too lazy to look up the right way to do it
|
||||||
if (stplyr->mo->frame & FF_TRANSMASK)
|
if (stplyr->mo->flags2 & MF2_SHADOW)
|
||||||
splitflags |= (stplyr->mo->frame & FF_TRANSMASK); // ditto
|
splitflags |= FF_TRANS80;
|
||||||
|
else if (stplyr->mo->frame & FF_TRANSMASK)
|
||||||
|
splitflags |= (stplyr->mo->frame & FF_TRANSMASK);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cmd->driftturn > 400) // strong left turn
|
if (cmd->driftturn > 400) // strong left turn
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue