From 4d331d9c9fce9ec8ea37af7d04b38bce31b92242 Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 2 Jun 2024 00:43:18 +0200 Subject: [PATCH] change shadowscale a little --- src/hardware/hw_main.c | 4 ++-- src/r_things.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index fa30a224a..eb9cc8f5f 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -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}; diff --git a/src/r_things.c b/src/r_things.c index a758042fe..eb3ae3641 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -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);