Merge branch 'precipinterpfix' into 'master'

Fix Weather Z coordinate not being interpolated in OpenGL

See merge request KartKrew/Kart-Public!343
This commit is contained in:
Sal 2024-03-30 01:02:21 +00:00
commit b9c47bf40e

View file

@ -4538,7 +4538,7 @@ void HWR_ProjectPrecipitationSprite(precipmobj_t *thing)
#endif #endif
// set top/bottom coords // 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; vis->precip = true;
} }