reenable shadow skewing in software

This commit is contained in:
Alug committed 2024-06-02 22:15:17 +02:00
1 parent a5cd72d5db
commit 9695ede7c2
1 file changed
+3 -3
+3 -3
View File
@@ -1233,9 +1233,9 @@ static void R_ProjectDropShadow(mobj_t *thing, vissprite_t *vis, fixed_t tx, fix
shadowyscale = min(shadowyscale, shadowxscale) / SHORT(patch->height);
shadowxscale /= SHORT(patch->width);
shadowskew = 0;
//if (groundslope)
//R_SkewShadowSprite(thing, groundslope, groundz, SHORT(patch->height), scalemul, &shadowyscale, &shadowskew); // idk whats up with this thing
if (groundslope && cv_sloperoll.value && cv_spriteroll.value)
R_SkewShadowSprite(thing, groundslope, groundz, SHORT(patch->height), scalemul, &shadowyscale, &shadowskew); // idk whats up with this thing
tx -= SHORT(patch->width) * shadowxscale/2;
x1 = (centerxfrac + FixedMul(tx,xscale))>>FRACBITS;