rotating shadows

uuuuhhh
This commit is contained in:
Alug committed 2024-02-01 01:07:32 +01:00
1 parent d581d48714
commit 580912c335
2 files changed
+7 -1

No files matched your search

+1
View File
@@ -3939,6 +3939,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
@@ -6488,7 +6488,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: