mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-17 10:11:12 +00:00
Shadows remain even after an object dies, until the object no longer exists
This commit is contained in:
parent
fced36e601
commit
59d670f902
1 changed files with 1 additions and 1 deletions
|
@ -6244,7 +6244,7 @@ void P_RunShadows(void)
|
|||
if (mobj->type != MT_SHADOW)
|
||||
continue;
|
||||
|
||||
if (mobj->target && (mobj->target->health || mobj->target->player)) // only players keep shadows after death, but only until their mobj is killed
|
||||
if (mobj->target)
|
||||
{
|
||||
if ((mobj->target->flags2 & MF2_DONTDRAW)
|
||||
|| (((mobj->target->eflags & MFE_VERTICALFLIP) && mobj->target->z+mobj->target->height > mobj->target->ceilingz)
|
||||
|
|
Loading…
Reference in a new issue