mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 07:12:03 +00:00
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:
commit
b9c47bf40e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue