change shadowscale a little

This commit is contained in:
Alug committed 2024-06-02 22:13:47 +02:00
1 parent 932f6d83f7
commit 4d331d9c9f
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -3631,8 +3631,8 @@ static void HWR_DrawDropShadow(mobj_t *thing)
fixed_t groundz;
fixed_t slopez;
pslope_t *groundslope;
fixed_t scale = FixedDiv(5*thing->scale/4, mapobjectscale); // uuuhhh approximation of things done by my butt
fixed_t scale = FixedDiv(4*thing->scale/3, mapobjectscale); // uuuhhh approximation of things done by my butt
// uncapped/interpolation
interpmobjstate_t interp = {0};
+1 -1
View File
@@ -1207,7 +1207,7 @@ static void R_ProjectDropShadow(mobj_t *thing, vissprite_t *vis, fixed_t tx, fix
fixed_t groundz;
pslope_t *groundslope;
boolean isflipped = thing->eflags & MFE_VERTICALFLIP;
fixed_t scale = FixedDiv(5*thing->scale/4, mapobjectscale);
fixed_t scale = FixedDiv(4*thing->scale/3, mapobjectscale);
interpmobjstate_t interp = {0};
groundz = R_GetShadowZ(thing, &groundslope);