Fix Weather Z coordinate not being interpolated in OpenGL

makes precip smooth like software
This commit is contained in:
Alug 2024-03-30 00:09:22 +01:00
parent 62294dfe35
commit 64f91846af

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