mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't draw catholocism for other players
Your relationship with christ is personal
This commit is contained in:
parent
0016e8b9ec
commit
af24fcd4bd
1 changed files with 4 additions and 0 deletions
|
|
@ -4123,17 +4123,21 @@ void K_InitTrickIndicator(player_t *player)
|
|||
P_RemoveMobj(player->trickIndicator);
|
||||
}
|
||||
|
||||
UINT32 invis = (RF_DONTDRAW & ~K_GetPlayerDontDrawFlag(player));
|
||||
|
||||
new = P_SpawnMobjFromMobj(player->mo, 0, 0, 0, MT_TRICKINDICATOR);
|
||||
|
||||
P_SetMobjState(new, S_INVISIBLE);
|
||||
P_SetTarget(&player->trickIndicator, new);
|
||||
P_SetTarget(&new->target, player->mo);
|
||||
new->renderflags |= invis;
|
||||
|
||||
mobj_t *secondlayer = P_SpawnMobjFromMobj(new, 0, 0, 0, MT_OVERLAY);
|
||||
|
||||
P_SetMobjState(secondlayer, S_INVISIBLE);
|
||||
P_SetTarget(&new->tracer, secondlayer);
|
||||
P_SetTarget(&secondlayer->target, new);
|
||||
secondlayer->renderflags |= invis;
|
||||
|
||||
secondlayer->dispoffset = 1;
|
||||
secondlayer->flags |= MF_DONTENCOREMAP;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue