rotating shadows

uuuuhhh
This commit is contained in:
Alug committed 2024-01-24 18:13:50 +01:00
1 parent ad3c0a1ffd
commit e5f79e061c
2 files changed
+7 -1

No files matched your search

+1
View File
@@ -3982,6 +3982,7 @@ static void HWR_DrawSpriteShadow(gr_vissprite_t *spr, GLPatch_t *gpatch, float t
mobjfloor = HWR_OpaqueFloorAtPos(
spr->mobj->x, spr->mobj->y,
spr->mobj->z, spr->mobj->height);
if (cv_shadowoffs.value)
{
angle_t shadowdir;
+6 -1
View File
@@ -6481,7 +6481,12 @@ void P_MobjThinker(mobj_t *mobj)
P_RemoveMobj(mobj);
return;
}
if (mobj->state == &states[S_SHADOW])
{
mobj->slopepitch = mobj->target->slopepitch;
mobj->sloperoll = mobj->target->sloperoll;
}
P_AddShadow(mobj);
break;
/*case MT_BLACKORB: