This commit is contained in:
Alug committed 2024-12-08 04:13:16 +01:00
1 parent 40be4d25a5
commit 13a5909c3f
1 file changed
-8
-8
View File
@@ -1389,14 +1389,6 @@ static void R_ProjectSprite(mobj_t *thing)
else
pitchnroll += rollangle;
// this is kinda dumb lkmao, but try to mitigate shadows being weirdly offset on slopes
if (thing->type == MT_SHADOW)
{
sprinfo->available = true; // < lmao
sprinfo->pivot[(thing->frame & FF_FRAMEMASK)].x = spr_offset>>FRACBITS;
sprinfo->pivot[(thing->frame & FF_FRAMEMASK)].y = -12; // noones gonna replace shadow sprite anyways, right?
}
rollangle = R_GetRollAngle(pitchnroll);
rotsprite = Patch_GetRotatedSprite(sprframe, (thing->frame & FF_FRAMEMASK), rot, flip, false, sprinfo, rollangle);