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
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}