From 64f91846af331f28e07c7045661f10b5fd150090 Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 30 Mar 2024 00:09:22 +0100 Subject: [PATCH] Fix Weather Z coordinate not being interpolated in OpenGL makes precip smooth like software --- src/hardware/hw_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 86dd7c34..88f92dbb 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -4538,7 +4538,7 @@ void HWR_ProjectPrecipitationSprite(precipmobj_t *thing) #endif // set top/bottom coords - vis->ty = FIXED_TO_FLOAT(thing->z + spritecachedinfo[lumpoff].topoffset); + vis->ty = FIXED_TO_FLOAT(interp.z + spritecachedinfo[lumpoff].topoffset); vis->precip = true; }